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

Unified Diff: third_party/WebKit/Source/core/page/Page.cpp

Issue 1851743002: Simplify Supplementables post Oilpan. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix component build 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/page/Page.cpp
diff --git a/third_party/WebKit/Source/core/page/Page.cpp b/third_party/WebKit/Source/core/page/Page.cpp
index d303c21ce78a3f7f4e8e21ffc17b5dcf8abc4f5d..7f785597925481a20e0ad5e9b20e8dd828d7a530 100644
--- a/third_party/WebKit/Source/core/page/Page.cpp
+++ b/third_party/WebKit/Source/core/page/Page.cpp
@@ -526,7 +526,6 @@ void Page::purgeMemory(DeviceKind deviceKind)
DEFINE_TRACE(Page)
{
-#if ENABLE(OILPAN)
visitor->trace(m_animator);
visitor->trace(m_autoscrollController);
visitor->trace(m_chromeClient);
@@ -542,8 +541,7 @@ DEFINE_TRACE(Page)
visitor->trace(m_multisamplingChangedObservers);
visitor->trace(m_frameHost);
visitor->trace(m_memoryPurgeController);
- HeapSupplementable<Page>::trace(visitor);
-#endif
+ Supplementable<Page>::trace(visitor);
PageLifecycleNotifier::trace(visitor);
MemoryPurgeClient::trace(visitor);
}
@@ -610,6 +608,6 @@ Page::PageClients::~PageClients()
{
}
-template class CORE_TEMPLATE_EXPORT HeapSupplement<Page>;
+template class CORE_TEMPLATE_EXPORT Supplement<Page>;
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/page/Page.h ('k') | third_party/WebKit/Source/core/testing/InternalSettings.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698