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

Unified Diff: Source/core/layout/LayoutListItem.h

Issue 1110233003: Update list markers in notify change. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add Rebaseline Created 5 years, 7 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: Source/core/layout/LayoutListItem.h
diff --git a/Source/core/layout/LayoutListItem.h b/Source/core/layout/LayoutListItem.h
index 919f30a6e9d2c65ca1af394cb1425f5eaf5b296e..bb82199e019192a84fd5bf04386c93563c4cc4e0 100644
--- a/Source/core/layout/LayoutListItem.h
+++ b/Source/core/layout/LayoutListItem.h
@@ -60,6 +60,8 @@ public:
bool isEmpty() const;
+ LayoutListMarker* marker() const { return m_marker; }
+
virtual const char* name() const override { return "LayoutListItem"; }
private:
@@ -72,11 +74,10 @@ private:
virtual void paint(const PaintInfo&, const LayoutPoint&) override;
- virtual void layout() override;
+ virtual void subtreeDidChange() final;
// Returns true if we re-attached and updated the location of the marker.
bool updateMarkerLocation();
- void updateMarkerLocationAndInvalidateWidth();
void positionListMarker();

Powered by Google App Engine
This is Rietveld 408576698