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

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

Issue 1060813005: Componentization: fix SupplementTracing<0>::~SupplementTracing<0>(void) already defined. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 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 | « Source/core/dom/Fullscreen.h ('k') | Source/core/html/imports/HTMLImportsController.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Fullscreen.cpp
diff --git a/Source/core/dom/Fullscreen.cpp b/Source/core/dom/Fullscreen.cpp
index bb1936cb4420fe91eefbbcd2f9ca1fda2c784fa8..2ca586faca479f916646e78d3cf20ae3e86780ea 100644
--- a/Source/core/dom/Fullscreen.cpp
+++ b/Source/core/dom/Fullscreen.cpp
@@ -131,7 +131,7 @@ Fullscreen& Fullscreen::from(Document& document)
Fullscreen* fullscreen = fromIfExists(document);
if (!fullscreen) {
fullscreen = new Fullscreen(document);
- DocumentSupplement::provideTo(document, supplementName(), adoptPtrWillBeNoop(fullscreen));
+ WillBeHeapSupplement<Document>::provideTo(document, supplementName(), adoptPtrWillBeNoop(fullscreen));
}
return *fullscreen;
@@ -139,7 +139,7 @@ Fullscreen& Fullscreen::from(Document& document)
Fullscreen* Fullscreen::fromIfExistsSlow(Document& document)
{
- return static_cast<Fullscreen*>(DocumentSupplement::from(document, supplementName()));
+ return static_cast<Fullscreen*>(WillBeHeapSupplement<Document>::from(document, supplementName()));
}
Element* Fullscreen::fullscreenElementFrom(Document& document)
@@ -608,7 +608,7 @@ DEFINE_TRACE(Fullscreen)
visitor->trace(m_fullScreenElement);
visitor->trace(m_fullScreenElementStack);
visitor->trace(m_eventQueue);
- DocumentSupplement::trace(visitor);
+ WillBeHeapSupplement<Document>::trace(visitor);
DocumentLifecycleObserver::trace(visitor);
}
« no previous file with comments | « Source/core/dom/Fullscreen.h ('k') | Source/core/html/imports/HTMLImportsController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698