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

Unified Diff: third_party/WebKit/Source/core/dom/Fullscreen.cpp

Issue 2617103002: Use a new Supplement constructor for Supplement<Document> (Part 1) (Closed)
Patch Set: temp 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/core/dom/Fullscreen.cpp
diff --git a/third_party/WebKit/Source/core/dom/Fullscreen.cpp b/third_party/WebKit/Source/core/dom/Fullscreen.cpp
index b8a1bcc1cadf7a42464cf02797ff2978c2b7e0ac..df35eca72fa850c77955a5e1b6688c581ff1bab0 100644
--- a/third_party/WebKit/Source/core/dom/Fullscreen.cpp
+++ b/third_party/WebKit/Source/core/dom/Fullscreen.cpp
@@ -383,7 +383,9 @@ Element* Fullscreen::fullscreenElementForBindingFrom(TreeScope& scope) {
}
Fullscreen::Fullscreen(Document& document)
- : ContextLifecycleObserver(&document), m_fullScreenLayoutObject(nullptr) {
+ : Supplement<Document>(document),
+ ContextLifecycleObserver(&document),
+ m_fullScreenLayoutObject(nullptr) {
document.setHasFullscreenSupplement();
}

Powered by Google App Engine
This is Rietveld 408576698