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

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

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.h
diff --git a/third_party/WebKit/Source/core/testing/InternalSettings.h b/third_party/WebKit/Source/core/testing/InternalSettings.h
index cf44fcddd53521d54f9d0cb9be92dd65f25e08ad..b8b617a8c72ad6e78a1ccad0ab0c11dc02546d2a 100644
--- a/third_party/WebKit/Source/core/testing/InternalSettings.h
+++ b/third_party/WebKit/Source/core/testing/InternalSettings.h
@@ -150,10 +150,9 @@ class InternalSettings final : public InternalSettingsGenerated,
explicit InternalSettings(Page&);
Settings* settings() const;
- Page* page() const { return m_page; }
+ Page* page() const { return supplementable(); }
static const char* supplementName();
- WeakMember<Page> m_page;
Backup m_backup;
};

Powered by Google App Engine
This is Rietveld 408576698