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

Unified Diff: third_party/WebKit/Source/core/layout/line/InlineBox.h

Issue 2702043002: Use LayoutUnit for positioning ellipses (Closed)
Patch Set: bug 693905-2 Created 3 years, 10 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/line/InlineBox.h
diff --git a/third_party/WebKit/Source/core/layout/line/InlineBox.h b/third_party/WebKit/Source/core/layout/line/InlineBox.h
index f4365e638b135e835bb721c4cf56a72985b9533e..ef881ff68d1daf29332dd5580136695383c5178b 100644
--- a/third_party/WebKit/Source/core/layout/line/InlineBox.h
+++ b/third_party/WebKit/Source/core/layout/line/InlineBox.h
@@ -318,8 +318,8 @@ class CORE_EXPORT InlineBox : public DisplayItemClient {
virtual SelectionState getSelectionState() const;
virtual bool canAccommodateEllipsis(bool ltr,
- int blockEdge,
- int ellipsisWidth) const;
+ LayoutUnit blockEdge,
+ LayoutUnit ellipsisWidth) const;
// visibleLeftEdge, visibleRightEdge are in the parent's coordinate system.
virtual LayoutUnit placeEllipsisBox(bool ltr,
LayoutUnit visibleLeftEdge,
« no previous file with comments | « third_party/WebKit/Source/core/layout/line/EllipsisBox.h ('k') | third_party/WebKit/Source/core/layout/line/InlineBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698