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

Unified Diff: Source/web/WebSettingsImpl.cpp

Issue 476273003: Rename acceleratedCompositingForFixedPosition to preferCompositingToLCDText. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rm-fixedpos: rebase Created 6 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 | « Source/web/WebSettingsImpl.h ('k') | Source/web/tests/PinchViewportTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebSettingsImpl.cpp
diff --git a/Source/web/WebSettingsImpl.cpp b/Source/web/WebSettingsImpl.cpp
index 0917e16bd7adb5fe26d56494eb22de4c5a97c89e..39e3fe33242257b65f3aa238c751ae8a93372168 100644
--- a/Source/web/WebSettingsImpl.cpp
+++ b/Source/web/WebSettingsImpl.cpp
@@ -488,9 +488,15 @@ void WebSettingsImpl::setDeferredFiltersEnabled(bool enabled)
m_settings->setDeferredFiltersEnabled(enabled);
}
+void WebSettingsImpl::setPreferCompositingToLCDTextEnabled(bool enabled)
+{
+ m_settings->setPreferCompositingToLCDTextEnabled(enabled);
+}
+
+// TODO(danakj): Remove this method.
void WebSettingsImpl::setAcceleratedCompositingForFixedPositionEnabled(bool enabled)
{
- m_settings->setAcceleratedCompositingForFixedPositionEnabled(enabled);
+ m_settings->setPreferCompositingToLCDTextEnabled(enabled);
}
void WebSettingsImpl::setMinimumAccelerated2dCanvasSize(int numPixels)
« no previous file with comments | « Source/web/WebSettingsImpl.h ('k') | Source/web/tests/PinchViewportTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698