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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutView.cpp

Issue 1907213002: Refactor OverlayScrollbarSizeRelevancy into OverlayScrollbarClipBehavior (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Include -> Exclude Created 4 years, 8 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/core/layout/LayoutView.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutView.cpp b/third_party/WebKit/Source/core/layout/LayoutView.cpp
index b39d631e4bd9f9b6988e09d6dd504e8a4b2d64b3..67bbb1b98f2125059836dff5e11fcf60cee9d833 100644
--- a/third_party/WebKit/Source/core/layout/LayoutView.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutView.cpp
@@ -857,15 +857,15 @@ LayoutRect LayoutView::viewRect() const
return LayoutRect();
}
-LayoutRect LayoutView::overflowClipRect(const LayoutPoint& location, OverlayScrollbarSizeRelevancy relevancy) const
+LayoutRect LayoutView::overflowClipRect(const LayoutPoint& location, OverlayScrollbarClipBehavior overlayScrollbarClipBehavior) const
{
LayoutRect rect = viewRect();
if (rect.isEmpty())
- return LayoutBox::overflowClipRect(location, relevancy);
+ return LayoutBox::overflowClipRect(location, overlayScrollbarClipBehavior);
rect.setLocation(location);
if (hasOverflowClip())
- excludeScrollbars(rect, relevancy);
+ excludeScrollbars(rect, overlayScrollbarClipBehavior);
return rect;
}

Powered by Google App Engine
This is Rietveld 408576698