Chromium Code Reviews| Index: third_party/WebKit/Source/modules/presentation/PresentationConnectionList.h |
| diff --git a/third_party/WebKit/Source/modules/presentation/PresentationConnectionList.h b/third_party/WebKit/Source/modules/presentation/PresentationConnectionList.h |
| index 44a37c0e7100c05392a8f4cccc3b9c7f5d4f6dc0..4fcc3f75cd12ff540b6b99c3d999a3520eba13ab 100644 |
| --- a/third_party/WebKit/Source/modules/presentation/PresentationConnectionList.h |
| +++ b/third_party/WebKit/Source/modules/presentation/PresentationConnectionList.h |
| @@ -18,9 +18,7 @@ namespace blink { |
| // from which represents set of presentation connections in the set of |
| // presentation controllers. |
| class MODULES_EXPORT PresentationConnectionList final |
| - : public EventTargetWithInlineData, |
| - public ContextLifecycleObserver { |
| - USING_GARBAGE_COLLECTED_MIXIN(PresentationConnectionList); |
| + : public EventTargetWithInlineData { |
| DEFINE_WRAPPERTYPEINFO(); |
| public: |
| @@ -29,7 +27,9 @@ class MODULES_EXPORT PresentationConnectionList final |
| // EventTarget implementation. |
| const AtomicString& interfaceName() const override; |
| - ExecutionContext* getExecutionContext() const override; |
| + ExecutionContext* getExecutionContext() const override { |
| + return m_executionContext; |
| + } |
| // PresentationConnectionList.idl implementation. |
| const HeapVector<Member<PresentationConnection>>& connections() const; |
| @@ -50,6 +50,7 @@ class MODULES_EXPORT PresentationConnectionList final |
| friend class PresentationReceiverTest; |
| HeapVector<Member<PresentationConnection>> m_connections; |
| + Member<ExecutionContext> m_executionContext; |
|
haraken
2016/12/07 07:37:10
Before this CL, it was a weak member. But I don't
|
| }; |
| } // namespace blink |