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

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayerClipper.h

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/paint/PaintLayerClipper.h
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerClipper.h b/third_party/WebKit/Source/core/paint/PaintLayerClipper.h
index 71735cc2052493e06f807bba2cd3ed0d75871af9..3a94f66c2217fc5ce3a36a35fca6b6558a1450e0 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerClipper.h
+++ b/third_party/WebKit/Source/core/paint/PaintLayerClipper.h
@@ -61,9 +61,9 @@ enum ShouldRespectOverflowClipType {
class ClipRectsContext {
STACK_ALLOCATED();
public:
- ClipRectsContext(const PaintLayer* root, ClipRectsCacheSlot slot, OverlayScrollbarSizeRelevancy relevancy = IgnoreOverlayScrollbarSize, const LayoutSize& accumulation = LayoutSize())
+ ClipRectsContext(const PaintLayer* root, ClipRectsCacheSlot slot, OverlayScrollbarClipBehavior overlayScrollbarClipBehavior = IgnoreOverlayScrollbarSize, const LayoutSize& accumulation = LayoutSize())
: rootLayer(root)
- , scrollbarRelevancy(relevancy)
+ , overlayScrollbarClipBehavior(overlayScrollbarClipBehavior)
, m_cacheSlot(slot)
, subPixelAccumulation(accumulation)
, respectOverflowClip(slot == PaintingClipRectsIgnoringOverflowClip ? IgnoreOverflowClip : RespectOverflowClip)
@@ -91,7 +91,7 @@ public:
}
const PaintLayer* rootLayer;
- const OverlayScrollbarSizeRelevancy scrollbarRelevancy;
+ const OverlayScrollbarClipBehavior overlayScrollbarClipBehavior;
private:
friend class PaintLayerClipper;

Powered by Google App Engine
This is Rietveld 408576698