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

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

Issue 367263004: Oilpan: fix build after r177450. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Move ScriptPromisePropertyBase to the heap Created 6 years, 6 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/ScriptPromisePropertyBase.h
diff --git a/Source/bindings/core/v8/ScriptPromisePropertyBase.h b/Source/bindings/core/v8/ScriptPromisePropertyBase.h
index 2cecbdc05819ffc5871dc8193b6d368393ad60e4..2c199e8d0d4ee052217e4adc3406a07aefefe7b3 100644
--- a/Source/bindings/core/v8/ScriptPromisePropertyBase.h
+++ b/Source/bindings/core/v8/ScriptPromisePropertyBase.h
@@ -16,7 +16,7 @@ namespace WebCore {
class ExecutionContext;
-class ScriptPromisePropertyBase : public ContextLifecycleObserver, public RefCounted<ScriptPromisePropertyBase> {
+class ScriptPromisePropertyBase : public RefCountedWillBeRefCountedGarbageCollected<ScriptPromisePropertyBase>, public ContextLifecycleObserver {
public:
virtual ~ScriptPromisePropertyBase();
@@ -35,6 +35,8 @@ public:
ScriptPromise promise(DOMWrapperWorld&);
+ virtual void trace(Visitor*) { }
+
protected:
ScriptPromisePropertyBase(ExecutionContext*, Name);
« no previous file with comments | « Source/bindings/core/v8/ScriptPromiseProperty.h ('k') | Source/bindings/core/v8/ScriptPromisePropertyTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698