Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(239)

Unified Diff: Source/bindings/core/v8/V8AbstractEventListener.cpp

Issue 1238083002: Oilpan: Move the EventListener hierarchy to Oilpan's heap (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/bindings/core/v8/V8AbstractEventListener.cpp
diff --git a/Source/bindings/core/v8/V8AbstractEventListener.cpp b/Source/bindings/core/v8/V8AbstractEventListener.cpp
index ad36cfb17acdd88d0bc812a6887c2eeb0e97bcf4..020cd3c3cf4e696bd93e18ae3204448ef1adf080 100644
--- a/Source/bindings/core/v8/V8AbstractEventListener.cpp
+++ b/Source/bindings/core/v8/V8AbstractEventListener.cpp
@@ -89,7 +89,7 @@ void V8AbstractEventListener::handleEvent(ScriptState* scriptState, Event* event
{
// The callback function on XMLHttpRequest can clear the event listener and destroys 'this' object. Keep a local reference to it.
// See issue 889829.
- RefPtr<V8AbstractEventListener> protect(this);
+ RefPtrWillBeRawPtr<V8AbstractEventListener> protect(this);
ScriptState::Scope scope(scriptState);

Powered by Google App Engine
This is Rietveld 408576698