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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutListMarker.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: Reorganize conditions in PaintInvalidationState constructor 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/LayoutListMarker.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutListMarker.h b/third_party/WebKit/Source/core/layout/LayoutListMarker.h
index ce0f09d630bfb4455890eb1464df6e6eed107812..98dc8056f1ebc1452a702d7852254457c409961e 100644
--- a/third_party/WebKit/Source/core/layout/LayoutListMarker.h
+++ b/third_party/WebKit/Source/core/layout/LayoutListMarker.h
@@ -54,7 +54,7 @@ public:
void updateMarginsAndContent();
IntRect getRelativeMarkerRect() const;
- LayoutRect localSelectionRect() const;
+ LayoutRect localSelectionRect() const final;
bool isImage() const override;
const StyleImage* image() const { return m_image.get(); }
const LayoutListItem* listItem() const { return m_listItem; }
@@ -88,7 +88,6 @@ private:
bool isText() const { return !isImage(); }
void setSelectionState(SelectionState) override;
- LayoutRect selectionRectForPaintInvalidation(const LayoutBoxModelObject* paintInvalidationContainer) const override;
bool canBeSelectionLeaf() const override { return true; }
LayoutUnit getWidthOfTextWithSuffix() const;

Powered by Google App Engine
This is Rietveld 408576698