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

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

Issue 1656743002: Removing more implicit LayoutUnit construction (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/EllipsisBox.h
diff --git a/third_party/WebKit/Source/core/layout/line/EllipsisBox.h b/third_party/WebKit/Source/core/layout/line/EllipsisBox.h
index 33f5af01dee7be4c7f03e3b9a99454cb1c42abb7..9453dc6935670be54488477d99508a2e93a5e054 100644
--- a/third_party/WebKit/Source/core/layout/line/EllipsisBox.h
+++ b/third_party/WebKit/Source/core/layout/line/EllipsisBox.h
@@ -31,7 +31,7 @@ class HitTestResult;
class EllipsisBox final : public InlineBox {
public:
EllipsisBox(InlineBox* inlineBox, const AtomicString& ellipsisStr, InlineFlowBox* parent,
- int width, int height, int x, int y, bool firstLine, bool isVertical)
+ LayoutUnit width, int height, int x, int y, bool firstLine, bool isVertical)
: InlineBox(inlineBox, LayoutPoint(x, y), width, firstLine, true, false, false, isVertical, 0, 0, parent)
, m_height(height)
, m_str(ellipsisStr)

Powered by Google App Engine
This is Rietveld 408576698