diff options
author | mbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-03 19:24:46 +0000 |
---|---|---|
committer | mbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-03 19:24:46 +0000 |
commit | 51e4bbbdb98e2d68fc805852dc575b610b16e2ea (patch) | |
tree | 26db13f7d79099b7c71368035ee93f6006302feb /webkit/pending | |
parent | 813723af9619317730077211ac60f8c10eadcec2 (diff) | |
download | chromium_src-51e4bbbdb98e2d68fc805852dc575b610b16e2ea.zip chromium_src-51e4bbbdb98e2d68fc805852dc575b610b16e2ea.tar.gz chromium_src-51e4bbbdb98e2d68fc805852dc575b610b16e2ea.tar.bz2 |
use PassRefPtr for event creation rather than naked
pointers.
Review URL: http://codereview.chromium.org/6454
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2842 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/pending')
-rw-r--r-- | webkit/pending/ScriptController.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/pending/ScriptController.h b/webkit/pending/ScriptController.h index 1f72796..b03ae99 100644 --- a/webkit/pending/ScriptController.h +++ b/webkit/pending/ScriptController.h @@ -182,9 +182,9 @@ public: void disposeJSResult(JSResult result); void collectGarbage(); - EventListener* createHTMLEventHandler(const String& functionName, const String& code, Node*); + PassRefPtr<EventListener> createHTMLEventHandler(const String& functionName, const String& code, Node*); #if ENABLE(SVG) - EventListener* createSVGEventHandler(const String& functionName, const String& code, Node*); + PassRefPtr<EventListener> createSVGEventHandler(const String& functionName, const String& code, Node*); #endif // Get the Root object |