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

Unified Diff: third_party/WebKit/Source/core/layout/line/InlineFlowBox.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/InlineFlowBox.h
diff --git a/third_party/WebKit/Source/core/layout/line/InlineFlowBox.h b/third_party/WebKit/Source/core/layout/line/InlineFlowBox.h
index dd11dee4b608591a64406502b6baf51d0ddf4cb3..b8fb27f79abfee2ee31904ae91efdeb1912e6e54 100644
--- a/third_party/WebKit/Source/core/layout/line/InlineFlowBox.h
+++ b/third_party/WebKit/Source/core/layout/line/InlineFlowBox.h
@@ -266,8 +266,8 @@ class InlineFlowBox : public InlineBox {
SelectionState getSelectionState() const override;
bool canAccommodateEllipsis(bool ltr,
- int blockEdge,
- int ellipsisWidth) const final;
+ LayoutUnit blockEdge,
+ LayoutUnit ellipsisWidth) const final;
LayoutUnit placeEllipsisBox(bool ltr,
LayoutUnit blockLeftEdge,
LayoutUnit blockRightEdge,
« no previous file with comments | « third_party/WebKit/Source/core/layout/line/InlineBox.cpp ('k') | third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698