Index: Source/modules/mediastream/UserMediaController.h |
diff --git a/Source/modules/mediastream/UserMediaController.h b/Source/modules/mediastream/UserMediaController.h |
index 627af5d30e64cb68cac202e33b9af295bffaac9d..fdad3e42ac1864be8084519585b3cd56fa890b2c 100644 |
--- a/Source/modules/mediastream/UserMediaController.h |
+++ b/Source/modules/mediastream/UserMediaController.h |
@@ -38,6 +38,7 @@ class UserMediaController final : public NoBaseWillBeGarbageCollected<UserMediaC |
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(UserMediaController); |
DECLARE_EMPTY_VIRTUAL_DESTRUCTOR_WILL_BE_REMOVED(UserMediaController); |
public: |
+ static PassOwnPtrWillBeRawPtr<UserMediaController> create(UserMediaClient*); |
UserMediaClient* client() const { return m_client; } |
@@ -49,16 +50,12 @@ public: |
void requestSources(MediaStreamTrackSourcesRequest*); |
- static PassOwnPtrWillBeRawPtr<UserMediaController> create(UserMediaClient*); |
static const char* supplementName(); |
static UserMediaController* from(LocalFrame* frame) { return static_cast<UserMediaController*>(WillBeHeapSupplement<LocalFrame>::from(frame, supplementName())); } |
- virtual void trace(Visitor* visitor) override { WillBeHeapSupplement<LocalFrame>::trace(visitor); } |
- |
-protected: |
+private: |
explicit UserMediaController(UserMediaClient*); |
-private: |
UserMediaClient* m_client; |
}; |