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

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

Issue 2828323003: Stop clipping to visual rect bounds in PLC::CalculateBackgroundClipRect (Closed)
Patch Set: none 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
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..33c55b932536521bf3bcf56c52edf1e5e4effca5 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerClipper.h
+++ b/third_party/WebKit/Source/core/paint/PaintLayerClipper.h
@@ -223,9 +223,12 @@ class CORE_EXPORT PaintLayerClipper {
ALWAYS_INLINE bool ShouldRespectOverflowClip(const ClipRectsContext&) const;
// Returned clip rect in |output| is in the space of the context's rootLayer.
+ // if |should_clip_to_visual_overflow| is true, clips to the bounds of the
+ // visual overflow of |layer_|.
ALWAYS_INLINE void CalculateBackgroundClipRectWithGeometryMapper(
const ClipRectsContext&,
- ClipRect& output) const;
+ ClipRect& output,
+ bool should_clip_to_visual_overflow) const;
ALWAYS_INLINE void InitializeCommonClipRectState(
const ClipRectsContext&,
« no previous file with comments | « third_party/WebKit/LayoutTests/TestExpectations ('k') | third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698