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

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

Issue 2614143002: Use a new Supplement constructor for LocalFrame's supplements (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
Index: third_party/WebKit/Source/modules/presentation/PresentationController.cpp
diff --git a/third_party/WebKit/Source/modules/presentation/PresentationController.cpp b/third_party/WebKit/Source/modules/presentation/PresentationController.cpp
index 4044b27f0c71042b69a1a1a20369227f986f3aae..f20aeee43302581e7ab792e1c73b4e2d32adbdba 100644
--- a/third_party/WebKit/Source/modules/presentation/PresentationController.cpp
+++ b/third_party/WebKit/Source/modules/presentation/PresentationController.cpp
@@ -15,7 +15,9 @@ namespace blink {
PresentationController::PresentationController(LocalFrame& frame,
WebPresentationClient* client)
- : ContextLifecycleObserver(frame.document()), m_client(client) {
+ : Supplement<LocalFrame>(frame),
+ ContextLifecycleObserver(frame.document()),
+ m_client(client) {
if (m_client)
m_client->setController(this);
}

Powered by Google App Engine
This is Rietveld 408576698