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

Unified Diff: third_party/WebKit/Source/modules/imagecapture/ImageCapture.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/modules/imagecapture/ImageCapture.h
diff --git a/third_party/WebKit/Source/modules/imagecapture/ImageCapture.h b/third_party/WebKit/Source/modules/imagecapture/ImageCapture.h
index c3d68c2662e1ba910dfdcd758c9bead110f8c124..1d8b23059058814145d0b1ea752a87a590cea077 100644
--- a/third_party/WebKit/Source/modules/imagecapture/ImageCapture.h
+++ b/third_party/WebKit/Source/modules/imagecapture/ImageCapture.h
@@ -24,9 +24,10 @@ class WebImageCaptureFrameGrabber;
// TODO(mcasas): Consideradding a LayoutTest checking that this class is not
// garbage collected while it has event listeners.
-class MODULES_EXPORT ImageCapture final : public EventTargetWithInlineData,
- public ActiveScriptWrappable,
- public ContextLifecycleObserver {
+class MODULES_EXPORT ImageCapture final
+ : public EventTargetWithInlineData,
+ public ActiveScriptWrappable<ImageCapture>,
+ public ContextLifecycleObserver {
USING_GARBAGE_COLLECTED_MIXIN(ImageCapture);
DEFINE_WRAPPERTYPEINFO();
« no previous file with comments | « third_party/WebKit/Source/modules/filesystem/FileWriter.cpp ('k') | third_party/WebKit/Source/modules/indexeddb/IDBDatabase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698