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

Unified Diff: Source/core/page/Settings.h

Issue 14408004: Fix incorrect evaluation of resolution media queries (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 7 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: Source/core/page/Settings.h
diff --git a/Source/core/page/Settings.h b/Source/core/page/Settings.h
index 7ef12c80fd873454a40ddfbf68988d005cf6485d..24b6363763d7e4f3b6baf7e64aaa05b5d5a1c277 100644
--- a/Source/core/page/Settings.h
+++ b/Source/core/page/Settings.h
@@ -104,10 +104,6 @@ public:
const IntSize& textAutosizingWindowSizeOverride() const { return m_textAutosizingWindowSizeOverride; }
// Only set by Layout Tests.
- void setResolutionOverride(const IntSize&);
- const IntSize& resolutionOverride() const { return m_resolutionDensityPerInchOverride; }
-
- // Only set by Layout Tests.
void setMediaTypeOverride(const String&);
const String& mediaTypeOverride() const { return m_mediaTypeOverride; }
@@ -179,7 +175,6 @@ private:
float m_textAutosizingFontScaleFactor;
IntSize m_textAutosizingWindowSizeOverride;
bool m_textAutosizingEnabled : 1;
- IntSize m_resolutionDensityPerInchOverride;
SETTINGS_MEMBER_VARIABLES

Powered by Google App Engine
This is Rietveld 408576698