Index: Source/core/platform/ScrollbarTheme.cpp |
diff --git a/Source/core/platform/ScrollbarTheme.cpp b/Source/core/platform/ScrollbarTheme.cpp |
index 419ab9df51efd60126334bc54a8a00e28044f8b1..baf89b66baa417c9d3f22b8a52a5b7cf4b8eef94 100644 |
--- a/Source/core/platform/ScrollbarTheme.cpp |
+++ b/Source/core/platform/ScrollbarTheme.cpp |
@@ -37,7 +37,7 @@ namespace WebCore { |
ScrollbarTheme* ScrollbarTheme::theme() |
{ |
if (Settings::mockScrollbarsEnabled()) { |
- if (Settings::usesOverlayScrollbars()) { |
+ if (Settings::mockScrollbarsUseOverlay()) { |
DEFINE_STATIC_LOCAL(ScrollbarThemeOverlayMock, overlayMockTheme, ()); |
return &overlayMockTheme; |
} |