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

Unified Diff: third_party/WebKit/Source/core/testing/InternalSettings.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/testing/InternalSettings.cpp
diff --git a/third_party/WebKit/Source/core/testing/InternalSettings.cpp b/third_party/WebKit/Source/core/testing/InternalSettings.cpp
index aae34cf7655fc57a15309cbab84eb95dea4b4fa3..b002f41a17c24d0b0c81de87bb33e995f21b6f58 100644
--- a/third_party/WebKit/Source/core/testing/InternalSettings.cpp
+++ b/third_party/WebKit/Source/core/testing/InternalSettings.cpp
@@ -102,9 +102,9 @@ void InternalSettings::Backup::restoreTo(Settings* settings)
InternalSettings* InternalSettings::from(Page& page)
{
- if (!HeapSupplement<Page>::from(page, supplementName()))
- HeapSupplement<Page>::provideTo(page, supplementName(), new InternalSettings(page));
- return static_cast<InternalSettings*>(HeapSupplement<Page>::from(page, supplementName()));
+ if (!Supplement<Page>::from(page, supplementName()))
+ Supplement<Page>::provideTo(page, supplementName(), new InternalSettings(page));
+ return static_cast<InternalSettings*>(Supplement<Page>::from(page, supplementName()));
}
const char* InternalSettings::supplementName()
{
« no previous file with comments | « third_party/WebKit/Source/core/testing/InternalSettings.h ('k') | third_party/WebKit/Source/core/timing/ConsoleMemory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698