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

Unified Diff: Source/bindings/core/v8/V8ErrorHandler.h

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/V8ErrorHandler.h
diff --git a/Source/bindings/core/v8/V8ErrorHandler.h b/Source/bindings/core/v8/V8ErrorHandler.h
index ab1d8f0a71f3d95a88d614aa606ae56e0748ee16..05ac3847d54e106fd4a91825635c78be301a5dc4 100644
--- a/Source/bindings/core/v8/V8ErrorHandler.h
+++ b/Source/bindings/core/v8/V8ErrorHandler.h
@@ -41,9 +41,9 @@ class ErrorEvent;
class V8ErrorHandler final : public V8EventListener {
public:
- static PassRefPtr<V8ErrorHandler> create(v8::Local<v8::Object> listener, bool isInline, ScriptState* scriptState)
+ static PassRefPtrWillBeRawPtr<V8ErrorHandler> create(v8::Local<v8::Object> listener, bool isInline, ScriptState* scriptState)
{
- return adoptRef(new V8ErrorHandler(listener, isInline, scriptState));
+ return adoptRefWillBeNoop(new V8ErrorHandler(listener, isInline, scriptState));
}
static void storeExceptionOnErrorEventWrapper(v8::Isolate*, ErrorEvent*, v8::Local<v8::Value>, v8::Local<v8::Object> creationContext);

Powered by Google App Engine
This is Rietveld 408576698