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

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

Issue 1294483002: [Line Layout API] Convert InlineBox::boxModelObject to new API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: nits Created 5 years, 4 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
« no previous file with comments | « no previous file | Source/core/layout/api/LineLayoutBoxModel.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutListItem.cpp
diff --git a/Source/core/layout/LayoutListItem.cpp b/Source/core/layout/LayoutListItem.cpp
index 15dbf1580c1dad55e905411d03d9837a32c6772e..27cf22d899c4d652d62b3bf66d2dbb22e4dc9075 100644
--- a/Source/core/layout/LayoutListItem.cpp
+++ b/Source/core/layout/LayoutListItem.cpp
@@ -357,7 +357,7 @@ void LayoutListItem::positionListMarker()
adjustOverflow = true;
}
box->setOverflowFromLogicalRects(newLogicalLayoutOverflowRect, newLogicalVisualOverflowRect, lineTop, lineBottom);
- if (box->boxModelObject()->hasSelfPaintingLayer())
+ if (box->boxModelObject().hasSelfPaintingLayer())
hitSelfPaintingLayer = true;
}
} else {
@@ -379,7 +379,7 @@ void LayoutListItem::positionListMarker()
}
box->setOverflowFromLogicalRects(newLogicalLayoutOverflowRect, newLogicalVisualOverflowRect, lineTop, lineBottom);
- if (box->boxModelObject()->hasSelfPaintingLayer())
+ if (box->boxModelObject().hasSelfPaintingLayer())
hitSelfPaintingLayer = true;
}
}
« no previous file with comments | « no previous file | Source/core/layout/api/LineLayoutBoxModel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698