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

Unified Diff: third_party/WebKit/Source/web/tests/FrameTestHelpers.h

Issue 2780923003: Revert of Change minimum length of Aura overlay scrollbars. (Closed)
Patch Set: Created 3 years, 9 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: third_party/WebKit/Source/web/tests/FrameTestHelpers.h
diff --git a/third_party/WebKit/Source/web/tests/FrameTestHelpers.h b/third_party/WebKit/Source/web/tests/FrameTestHelpers.h
index 6e8ab66412334e5fa0f41c5c6c7fc74224c076cb..232875b1bbfc39e303d6ee0ee225ea6ffab7920b 100644
--- a/third_party/WebKit/Source/web/tests/FrameTestHelpers.h
+++ b/third_party/WebKit/Source/web/tests/FrameTestHelpers.h
@@ -126,15 +126,6 @@
EXPECT_TRUE(ScrollbarTheme::theme().usesOverlayScrollbars());
}
- UseMockScrollbarSettings(bool useMock, bool useOverlay)
- : m_originalMockScrollbarEnabled(Settings::mockScrollbarsEnabled()),
- m_originalOverlayScrollbarsEnabled(
- RuntimeEnabledFeatures::overlayScrollbarsEnabled()) {
- Settings::setMockScrollbarsEnabled(useMock);
- RuntimeEnabledFeatures::setOverlayScrollbarsEnabled(useOverlay);
- EXPECT_EQ(useOverlay, ScrollbarTheme::theme().usesOverlayScrollbars());
- }
-
~UseMockScrollbarSettings() {
Settings::setMockScrollbarsEnabled(m_originalMockScrollbarEnabled);
RuntimeEnabledFeatures::setOverlayScrollbarsEnabled(

Powered by Google App Engine
This is Rietveld 408576698