summaryrefslogtreecommitdiffstats
path: root/webkit/port/bindings/v8/v8_proxy.h
diff options
context:
space:
mode:
authormbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-03 19:24:46 +0000
committermbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-03 19:24:46 +0000
commit51e4bbbdb98e2d68fc805852dc575b610b16e2ea (patch)
tree26db13f7d79099b7c71368035ee93f6006302feb /webkit/port/bindings/v8/v8_proxy.h
parent813723af9619317730077211ac60f8c10eadcec2 (diff)
downloadchromium_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/port/bindings/v8/v8_proxy.h')
-rw-r--r--webkit/port/bindings/v8/v8_proxy.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/port/bindings/v8/v8_proxy.h b/webkit/port/bindings/v8/v8_proxy.h
index 784d763..bd2de40 100644
--- a/webkit/port/bindings/v8/v8_proxy.h
+++ b/webkit/port/bindings/v8/v8_proxy.h
@@ -207,10 +207,10 @@ class V8Proxy {
static void GCUnprotect(Peerable* dom_object);
// Create a lazy event listener.
- EventListener* createHTMLEventHandler(const String& functionName,
+ PassRefPtr<EventListener> createHTMLEventHandler(const String& functionName,
const String& code, Node* node);
#if ENABLE(SVG)
- EventListener* createSVGEventHandler(const String& functionName,
+ PassRefPtr<EventListener> createSVGEventHandler(const String& functionName,
const String& code, Node* node);
static void SetSVGContext(void* object, SVGElement* context);