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

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

Issue 2730343003: Fix overflow:overlay scrollbar width for paint. (Closed)
Patch Set: rebase 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
« no previous file with comments | « third_party/WebKit/Source/platform/scroll/ScrollableArea.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp b/third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp
index 9beeba95b5a60c263229e455d91fa228b1ac69b2..3991c98d2696fe08eea50d91aad7f86f8ab37be9 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp
+++ b/third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp
@@ -635,7 +635,7 @@ float ScrollableArea::pixelStep(ScrollbarOrientation) const {
int ScrollableArea::verticalScrollbarWidth(
OverlayScrollbarClipBehavior behavior) const {
- DCHECK_EQ(behavior, IgnoreOverlayScrollbarSize);
+ DCHECK_EQ(behavior, IgnorePlatformOverlayScrollbarSize);
if (Scrollbar* verticalBar = verticalScrollbar())
return !verticalBar->isOverlayScrollbar() ? verticalBar->width() : 0;
return 0;
@@ -643,7 +643,7 @@ int ScrollableArea::verticalScrollbarWidth(
int ScrollableArea::horizontalScrollbarHeight(
OverlayScrollbarClipBehavior behavior) const {
- DCHECK_EQ(behavior, IgnoreOverlayScrollbarSize);
+ DCHECK_EQ(behavior, IgnorePlatformOverlayScrollbarSize);
if (Scrollbar* horizontalBar = horizontalScrollbar())
return !horizontalBar->isOverlayScrollbar() ? horizontalBar->height() : 0;
return 0;
« no previous file with comments | « third_party/WebKit/Source/platform/scroll/ScrollableArea.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698