Index: third_party/WebKit/Source/platform/scroll/ScrollbarTheme.cpp |
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.cpp b/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.cpp |
index 34e5f452a88c421fa7d4a3ab58104acb08663d6f..7c3beb1900e404753568ef4c415d6f3f0216ffec 100644 |
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.cpp |
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.cpp |
@@ -295,10 +295,6 @@ void ScrollbarTheme::splitTrack(const ScrollbarThemeClient& scrollbar, const Int |
ScrollbarTheme& ScrollbarTheme::theme() |
{ |
- if (RuntimeEnabledFeatures::hideScrollbarsEnabled()) { |
- DEFINE_STATIC_LOCAL(ScrollbarThemeOverlayMock, hiddenMockTheme, (ScrollbarThemeOverlayMock::HideScrollbars)); |
- return hiddenMockTheme; |
- } |
if (ScrollbarTheme::mockScrollbarsEnabled()) { |
if (RuntimeEnabledFeatures::overlayScrollbarsEnabled()) { |
DEFINE_STATIC_LOCAL(ScrollbarThemeOverlayMock, overlayMockTheme, ()); |