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

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

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
« no previous file with comments | « Source/core/page/Settings.h ('k') | Source/core/testing/InternalSettings.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/Settings.cpp
diff --git a/Source/core/page/Settings.cpp b/Source/core/page/Settings.cpp
index e81ec667ec3c3894a65f7040281ac72db5b4d84f..ce07410b912c2500e85e3a9c10e566724126664f 100644
--- a/Source/core/page/Settings.cpp
+++ b/Source/core/page/Settings.cpp
@@ -261,15 +261,6 @@ void Settings::setTextAutosizingFontScaleFactor(float fontScaleFactor)
m_page->setNeedsRecalcStyleInAllFrames();
}
-void Settings::setResolutionOverride(const IntSize& densityPerInchOverride)
-{
- if (m_resolutionDensityPerInchOverride == densityPerInchOverride)
- return;
-
- m_resolutionDensityPerInchOverride = densityPerInchOverride;
- m_page->setNeedsRecalcStyleInAllFrames();
-}
-
void Settings::setMediaTypeOverride(const String& mediaTypeOverride)
{
if (m_mediaTypeOverride == mediaTypeOverride)
« no previous file with comments | « Source/core/page/Settings.h ('k') | Source/core/testing/InternalSettings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698