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

Unified Diff: Source/WebKit/chromium/src/WebSettingsImpl.cpp

Issue 11862015: Merge 139356 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1364/
Patch Set: Created 7 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
« no previous file with comments | « Source/WebKit/chromium/src/WebSettingsImpl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebKit/chromium/src/WebSettingsImpl.cpp
===================================================================
--- Source/WebKit/chromium/src/WebSettingsImpl.cpp (revision 139470)
+++ Source/WebKit/chromium/src/WebSettingsImpl.cpp (working copy)
@@ -54,7 +54,6 @@
, m_renderVSyncEnabled(true)
, m_lowLatencyRenderingEnabled(false)
, m_viewportEnabled(false)
- , m_applyDeviceScaleFactorInCompositor(false)
, m_gestureTapHighlightEnabled(true)
, m_autoZoomFocusedNodeToLegibleScale(false)
, m_deferredImageDecodingEnabled(false)
@@ -142,7 +141,7 @@
void WebSettingsImpl::setApplyDeviceScaleFactorInCompositor(bool applyDeviceScaleFactorInCompositor)
{
- m_applyDeviceScaleFactorInCompositor = applyDeviceScaleFactorInCompositor;
+ m_settings->setApplyDeviceScaleFactorInCompositor(applyDeviceScaleFactorInCompositor);
}
void WebSettingsImpl::setApplyPageScaleFactorInCompositor(bool applyPageScaleFactorInCompositor)
@@ -714,6 +713,11 @@
m_gestureTapHighlightEnabled = enableHighlight;
}
+bool WebSettingsImpl::applyDeviceScaleFactorInCompositor() const
+{
+ return m_settings->applyDeviceScaleFactorInCompositor();
+}
+
bool WebSettingsImpl::applyPageScaleFactorInCompositor() const
{
return m_settings->applyPageScaleFactorInCompositor();
« no previous file with comments | « Source/WebKit/chromium/src/WebSettingsImpl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698