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

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

Issue 2856373002: [blink] Unify PaintLayerClipper behavior with kIgnoreOverflowClip (Closed)
Patch Set: Created 3 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f37081d76ac03dffe458cc49048c418d1f16e7c1..d92ba6564510e7f0d836f8d3a40c855af2782bbd 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerClipper.h
+++ b/third_party/WebKit/Source/core/paint/PaintLayerClipper.h
@@ -96,6 +96,8 @@ class ClipRectsContext {
ClipRectsCacheSlot CacheSlot() const { return cache_slot_; }
+ bool ShouldRespectRootLayerClip() const;
+
const PaintLayer* root_layer;
const OverlayScrollbarClipBehavior overlay_scrollbar_clip_behavior;
@@ -220,7 +222,6 @@ class CORE_EXPORT PaintLayerClipper {
void GetOrCalculateClipRects(const ClipRectsContext&, ClipRects&) const;
ALWAYS_INLINE bool ShouldClipOverflow(const ClipRectsContext&) const;
- ALWAYS_INLINE bool ShouldRespectOverflowClip(const ClipRectsContext&) const;
// Returned clip rect in |output| is in the space of the context's rootLayer.
ALWAYS_INLINE void CalculateBackgroundClipRectWithGeometryMapper(
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698