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

Unified Diff: Source/core/dom/Document.h

Issue 1287783003: Make ClientHintsPreferences class work like a class. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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 | « no previous file | Source/core/fetch/ClientHintsPreferences.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index 34be6aec17895c23e5923f6479206e51e4d1d4a4..1a4f2e01aa4ad9f9b71e1ebd7aed5bcb0e31a2a1 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -1022,8 +1022,7 @@ public:
bool isPrivilegedContext(String& errorMessage, const PrivilegeContextCheck = StandardPrivilegeCheck) const override;
- void setClientHintsPreferences(const ClientHintsPreferences& preferences) { m_clientHintsPreferences.set(preferences); }
- const ClientHintsPreferences& clientHintsPreferences() const { return m_clientHintsPreferences; }
+ ClientHintsPreferences& clientHintsPreferences() { return m_clientHintsPreferences; }
CanvasFontCache* canvasFontCache();
« no previous file with comments | « no previous file | Source/core/fetch/ClientHintsPreferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698