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

Unified Diff: third_party/WebKit/Source/modules/mediastream/NavigatorUserMedia.h

Issue 2646383002: Use a new Supplement constructor for (Worker)Navigator supplements (Closed)
Patch Set: temp Created 3 years, 11 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: third_party/WebKit/Source/modules/mediastream/NavigatorUserMedia.h
diff --git a/third_party/WebKit/Source/modules/mediastream/NavigatorUserMedia.h b/third_party/WebKit/Source/modules/mediastream/NavigatorUserMedia.h
index a6c0eededcb55f5b780fce589694fce72ce8443e..453e4784489c75bb2cada625f6c5573007d8037a 100644
--- a/third_party/WebKit/Source/modules/mediastream/NavigatorUserMedia.h
+++ b/third_party/WebKit/Source/modules/mediastream/NavigatorUserMedia.h
@@ -11,7 +11,6 @@
namespace blink {
-class ExecutionContext;
class Navigator;
class MediaDevices;
@@ -23,7 +22,7 @@ class NavigatorUserMedia final : public GarbageCollected<NavigatorUserMedia>,
DECLARE_VIRTUAL_TRACE();
private:
- explicit NavigatorUserMedia(ExecutionContext*);
+ explicit NavigatorUserMedia(Navigator&);
MediaDevices* getMediaDevices();
static const char* supplementName();
static NavigatorUserMedia& from(Navigator&);

Powered by Google App Engine
This is Rietveld 408576698