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

Unified Diff: third_party/WebKit/Source/modules/mediastream/MediaDevices.cpp

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/modules/mediastream/MediaDevices.cpp
diff --git a/third_party/WebKit/Source/modules/mediastream/MediaDevices.cpp b/third_party/WebKit/Source/modules/mediastream/MediaDevices.cpp
index c5aafeb7fe569cebef9a2916caf59387ed186bef..9114c0f03bf5cb26be57f5fa78317b0b7df2f7e4 100644
--- a/third_party/WebKit/Source/modules/mediastream/MediaDevices.cpp
+++ b/third_party/WebKit/Source/modules/mediastream/MediaDevices.cpp
@@ -70,14 +70,13 @@ MediaDevices* MediaDevices::create(ExecutionContext* context) {
}
MediaDevices::MediaDevices(ExecutionContext* context)
- : ActiveScriptWrappable(this),
+ : ActiveScriptWrappable<MediaDevices>(this),
SuspendableObject(context),
m_observing(false),
m_stopped(false),
m_dispatchScheduledEventRunner(AsyncMethodRunner<MediaDevices>::create(
this,
- &MediaDevices::dispatchScheduledEvent)) {
-}
+ &MediaDevices::dispatchScheduledEvent)) {}
MediaDevices::~MediaDevices() {}

Powered by Google App Engine
This is Rietveld 408576698