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

Unified Diff: third_party/WebKit/Source/modules/presentation/PresentationConnectionList.h

Issue 2558643004: Remove ContextLifecycleObserver from PresentationConnectionList (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/presentation/PresentationConnectionList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/presentation/PresentationConnectionList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698