diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/core/paint/paint_info.h')
-rw-r--r-- | chromium/third_party/blink/renderer/core/paint/paint_info.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chromium/third_party/blink/renderer/core/paint/paint_info.h b/chromium/third_party/blink/renderer/core/paint/paint_info.h index 57bfcf9f3aa..b8f42f22f23 100644 --- a/chromium/third_party/blink/renderer/core/paint/paint_info.h +++ b/chromium/third_party/blink/renderer/core/paint/paint_info.h @@ -115,7 +115,7 @@ struct CORE_EXPORT PaintInfo { } DisplayItem::Type DisplayItemTypeForClipping() const { - return DisplayItem::PaintPhaseToClipBoxType(phase); + return DisplayItem::PaintPhaseToClipType(phase); } const LayoutBoxModelObject* PaintContainer() const { @@ -128,6 +128,10 @@ struct CORE_EXPORT PaintInfo { const CullRect& GetCullRect() const { return cull_rect_; } + void ApplyInfiniteCullRect() { + cull_rect_ = CullRect(LayoutRect::InfiniteIntRect()); + } + void UpdateCullRect(const AffineTransform& local_to_parent_transform) { cull_rect_.UpdateCullRect(local_to_parent_transform); } |