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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutInline.h

Issue 1837533002: LayoutObject::localOverflowRectForPaintInvalidation() and localSelectionRect() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pi0
Patch Set: Rebase Created 4 years, 9 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/LayoutInline.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutInline.h b/third_party/WebKit/Source/core/layout/LayoutInline.h
index 42899b73f1bb01bc36526767513dfc7e91f36aef..1a452d70ed787a2ae6389c3ff2a4613778a21068 100644
--- a/third_party/WebKit/Source/core/layout/LayoutInline.h
+++ b/third_party/WebKit/Source/core/layout/LayoutInline.h
@@ -236,12 +236,12 @@ private:
LayoutUnit offsetHeight() const final { return LayoutUnit(linesBoundingBox().height()); }
LayoutRect absoluteClippedOverflowRect() const override;
- LayoutRect clippedOverflowRectForPaintInvalidation(const LayoutBoxModelObject* paintInvalidationContainer, const PaintInvalidationState* = nullptr) const override;
+
bool mapToVisibleRectInAncestorSpace(const LayoutBoxModelObject* ancestor, LayoutRect&, const PaintInvalidationState*, VisibleRectFlags = DefaultVisibleRectFlags) const override;
- // This method differs from clippedOverflowRectForPaintInvalidation in that it includes
- // the rects for culled inline boxes, which aren't necessary for paint invalidation.
- LayoutRect clippedOverflowRect(const LayoutBoxModelObject*, const PaintInvalidationState* = nullptr) const;
+ // This method differs from visualOverflowRect in that it doesn't include the rects
+ // for culled inline boxes, which aren't necessary for paint invalidation.
+ LayoutRect localOverflowRectForPaintInvalidation() const override;
PositionWithAffinity positionForPoint(const LayoutPoint&) final;

Powered by Google App Engine
This is Rietveld 408576698