Index: third_party/WebKit/Source/core/testing/InternalSettings.cpp |
diff --git a/third_party/WebKit/Source/core/testing/InternalSettings.cpp b/third_party/WebKit/Source/core/testing/InternalSettings.cpp |
index 0010d9b23b10ec10a42df88ce5ac1636b977fd8a..47ba7148e884f4483e14b16bebd2bc30374422b3 100644 |
--- a/third_party/WebKit/Source/core/testing/InternalSettings.cpp |
+++ b/third_party/WebKit/Source/core/testing/InternalSettings.cpp |
@@ -142,6 +142,12 @@ void InternalSettings::setMockScrollbarsEnabled(bool enabled, ExceptionState& ex |
settings()->setMockScrollbarsEnabled(enabled); |
} |
+void InternalSettings::setHideScrollbars(bool enabled, ExceptionState& exceptionState) |
+{ |
+ InternalSettingsGuardForSettings(); |
+ settings()->setHideScrollbars(enabled); |
+} |
+ |
void InternalSettings::setMockGestureTapHighlightsEnabled(bool enabled, ExceptionState& exceptionState) |
{ |
InternalSettingsGuardForSettings(); |