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

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

Issue 2622533002: Prefer ContextClient mixin over manual ExecutionContext handling. (Closed)
Patch Set: 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
« no previous file with comments | « third_party/WebKit/Source/modules/presentation/PresentationConnectionList.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/presentation/PresentationConnectionList.cpp
diff --git a/third_party/WebKit/Source/modules/presentation/PresentationConnectionList.cpp b/third_party/WebKit/Source/modules/presentation/PresentationConnectionList.cpp
index a34d915145332de7a583f39a05bbb0792033ae68..c41bfb911c5a60e09885ebc7402bee38c8176f53 100644
--- a/third_party/WebKit/Source/modules/presentation/PresentationConnectionList.cpp
+++ b/third_party/WebKit/Source/modules/presentation/PresentationConnectionList.cpp
@@ -13,7 +13,7 @@ namespace blink {
PresentationConnectionList::PresentationConnectionList(
ExecutionContext* context)
- : m_executionContext(context) {}
+ : ContextClient(context) {}
const AtomicString& PresentationConnectionList::interfaceName() const {
return EventTargetNames::PresentationConnectionList;
@@ -51,8 +51,8 @@ bool PresentationConnectionList::isEmpty() {
DEFINE_TRACE(PresentationConnectionList) {
visitor->trace(m_connections);
- visitor->trace(m_executionContext);
EventTargetWithInlineData::trace(visitor);
+ ContextClient::trace(visitor);
}
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/modules/presentation/PresentationConnectionList.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698