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

Unified Diff: Source/core/testing/InternalSettings.cpp

Issue 14858004: Clean up the way layout tests force elements to opt in/out of composited scrolling. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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/testing/InternalSettings.cpp
diff --git a/Source/core/testing/InternalSettings.cpp b/Source/core/testing/InternalSettings.cpp
index e0183786ffece6ea0787beb2bbb17e107fa017eb..c0cff264abeb067ba5a52dc40a8bd89a2a432468 100644
--- a/Source/core/testing/InternalSettings.cpp
+++ b/Source/core/testing/InternalSettings.cpp
@@ -295,6 +295,12 @@ bool InternalSettings::cssVariablesEnabled(ExceptionCode& ec)
return settings()->cssVariablesEnabled();
}
+void InternalSettings::setAcceleratedCompositingForOverflowScrollEnabledMode(unsigned enabled, ExceptionCode& ec)
+{
+ InternalSettingsGuardForSettings();
+ settings()->setAcceleratedCompositingForOverflowScrollEnabled(static_cast<AcceleratedCompositingForOverflowScrollEnabledMode>(enabled));
+}
+
void InternalSettings::setEditingBehavior(const String& editingBehavior, ExceptionCode& ec)
{
InternalSettingsGuardForSettings();

Powered by Google App Engine
This is Rietveld 408576698