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

Unified Diff: third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlay.cpp

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/platform/scroll/ScrollbarThemeOverlay.cpp
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlay.cpp b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlay.cpp
index 4b48e421ff6bf0343446524248152535051fe6bd..30ba2b9554699d95115ee07d6d3ed8f1506b2dd7 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlay.cpp
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlay.cpp
@@ -270,19 +270,4 @@
return Platform::current()->themeEngine()->ninePatchAperture(part);
}
-int ScrollbarThemeOverlay::minimumThumbLength(
- const ScrollbarThemeClient& scrollbar) {
- if (scrollbar.orientation() == VerticalScrollbar) {
- return Platform::current()
- ->themeEngine()
- ->getSize(WebThemeEngine::PartScrollbarVerticalThumb)
- .height;
- }
-
- return Platform::current()
- ->themeEngine()
- ->getSize(WebThemeEngine::PartScrollbarHorizontalThumb)
- .width;
-}
-
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698