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

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

Issue 1846913009: HeapSupplements are now just Supplements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 5408e4cc6be07e4d2a12415840f5418ad5f85912..ced95681a56b7399eb7cce903ca288c35b433681 100644
--- a/third_party/WebKit/Source/core/dom/Fullscreen.cpp
+++ b/third_party/WebKit/Source/core/dom/Fullscreen.cpp
@@ -139,7 +139,7 @@ Fullscreen& Fullscreen::from(Document& document)
Fullscreen* fullscreen = fromIfExists(document);
if (!fullscreen) {
fullscreen = new Fullscreen(document);
- HeapSupplement<Document>::provideTo(document, supplementName(), fullscreen);
+ Supplement<Document>::provideTo(document, supplementName(), fullscreen);
}
return *fullscreen;
@@ -147,7 +147,7 @@ Fullscreen& Fullscreen::from(Document& document)
Fullscreen* Fullscreen::fromIfExistsSlow(Document& document)
{
- return static_cast<Fullscreen*>(HeapSupplement<Document>::from(document, supplementName()));
+ return static_cast<Fullscreen*>(Supplement<Document>::from(document, supplementName()));
}
Element* Fullscreen::fullscreenElementFrom(Document& document)
@@ -627,7 +627,7 @@ DEFINE_TRACE(Fullscreen)
visitor->trace(m_fullScreenElementStack);
visitor->trace(m_eventQueue);
#endif
- HeapSupplement<Document>::trace(visitor);
+ Supplement<Document>::trace(visitor);
DocumentLifecycleObserver::trace(visitor);
}
« no previous file with comments | « third_party/WebKit/Source/core/dom/Fullscreen.h ('k') | third_party/WebKit/Source/core/fileapi/FileReader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698