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

Unified Diff: third_party/WebKit/Source/core/streams/UnderlyingSourceBase.h

Issue 2577053002: ActiveScriptWrappable: GC wrappers in detached ExecutionContexts. (Closed)
Patch Set: component build fix(msvc) Created 4 years 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: third_party/WebKit/Source/core/streams/UnderlyingSourceBase.h
diff --git a/third_party/WebKit/Source/core/streams/UnderlyingSourceBase.h b/third_party/WebKit/Source/core/streams/UnderlyingSourceBase.h
index fdbd24385c1f8ed40ab3e08651c7589e9079d409..f1f40ec00023d92dac5d59d49cb4c206d7473a39 100644
--- a/third_party/WebKit/Source/core/streams/UnderlyingSourceBase.h
+++ b/third_party/WebKit/Source/core/streams/UnderlyingSourceBase.h
@@ -22,7 +22,7 @@ class ReadableStreamController;
class CORE_EXPORT UnderlyingSourceBase
: public GarbageCollectedFinalized<UnderlyingSourceBase>,
public ScriptWrappable,
- public ActiveScriptWrappable,
+ public ActiveScriptWrappable<UnderlyingSourceBase>,
public SuspendableObject {
DEFINE_WRAPPERTYPEINFO();
USING_GARBAGE_COLLECTED_MIXIN(UnderlyingSourceBase);
@@ -50,7 +50,7 @@ class CORE_EXPORT UnderlyingSourceBase
protected:
explicit UnderlyingSourceBase(ScriptState* scriptState)
- : ActiveScriptWrappable(this),
+ : ActiveScriptWrappable<UnderlyingSourceBase>(this),
SuspendableObject(scriptState->getExecutionContext()) {
this->suspendIfNeeded();
}
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLMediaElement.h ('k') | third_party/WebKit/Source/core/workers/InProcessWorkerBase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698