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

Unified Diff: third_party/WebKit/Source/core/testing/InternalSettings.cpp

Issue 2645303002: Use a new Supplement constructor for supplements in core/ (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/testing/InternalSettings.cpp
diff --git a/third_party/WebKit/Source/core/testing/InternalSettings.cpp b/third_party/WebKit/Source/core/testing/InternalSettings.cpp
index 4e7ddbf4f474587f5cd24918e6467daff98cd6a8..6958a2743b8b6fd577876a51ed72ee3858400b77 100644
--- a/third_party/WebKit/Source/core/testing/InternalSettings.cpp
+++ b/third_party/WebKit/Source/core/testing/InternalSettings.cpp
@@ -131,7 +131,7 @@ InternalSettings::~InternalSettings() {}
InternalSettings::InternalSettings(Page& page)
: InternalSettingsGenerated(&page),
- m_page(&page),
+ Supplement<Page>(page),
m_backup(&page.settings()) {}
void InternalSettings::resetToConsistentState() {
@@ -371,7 +371,6 @@ void InternalSettings::setDefaultVideoPosterURL(
}
DEFINE_TRACE(InternalSettings) {
- visitor->trace(m_page);
InternalSettingsGenerated::trace(visitor);
Supplement<Page>::trace(visitor);
}

Powered by Google App Engine
This is Rietveld 408576698