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

Unified Diff: third_party/WebKit/Source/core/layout/line/RootInlineBox.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/RootInlineBox.h
diff --git a/third_party/WebKit/Source/core/layout/line/RootInlineBox.h b/third_party/WebKit/Source/core/layout/line/RootInlineBox.h
index 0b92d9ad8c8e15ceddc3d405e56cece53e1d8cde..b4dd122f7f3c7d1d8e83367952a582ac2e5b2d58 100644
--- a/third_party/WebKit/Source/core/layout/line/RootInlineBox.h
+++ b/third_party/WebKit/Source/core/layout/line/RootInlineBox.h
@@ -104,9 +104,9 @@ class RootInlineBox : public InlineFlowBox {
void childRemoved(InlineBox*);
bool lineCanAccommodateEllipsis(bool ltr,
- int blockEdge,
- int lineBoxEdge,
- int ellipsisWidth);
+ LayoutUnit blockEdge,
+ LayoutUnit lineBoxEdge,
+ LayoutUnit ellipsisWidth);
// Return the truncatedWidth, the width of the truncated text + ellipsis.
LayoutUnit placeEllipsis(const AtomicString& ellipsisStr,
bool ltr,

Powered by Google App Engine
This is Rietveld 408576698