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

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

Issue 1813383002: Move all fast-path paint invalidation mapping into PaintInvalidationState (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/LayoutReplaced.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutReplaced.h b/third_party/WebKit/Source/core/layout/LayoutReplaced.h
index a3bfce444e6c1c6aca1ee30a8eeba09f98e8bfe5..35ac0c378ccc6f9add3cd4aa337f0290daf3ea50 100644
--- a/third_party/WebKit/Source/core/layout/LayoutReplaced.h
+++ b/third_party/WebKit/Source/core/layout/LayoutReplaced.h
@@ -66,7 +66,7 @@ public:
static const int defaultHeight;
bool canHaveChildren() const override { return false; }
virtual void paintReplaced(const PaintInfo&, const LayoutPoint&) const { }
- LayoutRect localSelectionRect() const; // This is in local coordinates, but it's a physical rect (so the top left corner is physical top left).
+ LayoutRect localSelectionRect() const final;
bool hasObjectFit() const { return style()->getObjectFit() != ComputedStyle::initialObjectFit(); }
@@ -123,7 +123,6 @@ private:
bool canBeSelectionLeaf() const override { return true; }
- LayoutRect selectionRectForPaintInvalidation(const LayoutBoxModelObject* paintInvalidationContainer) const final;
void computeIntrinsicSizingInfoForReplacedContent(LayoutReplaced*, IntrinsicSizingInfo&) const;
FloatSize constrainIntrinsicSizeToMinMax(const IntrinsicSizingInfo&) const;

Powered by Google App Engine
This is Rietveld 408576698