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

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

Issue 1651703002: More explicit LayoutUnit conversions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@evenMoarConstructors
Patch Set: Traits vs Properties vs Pandas 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 43d74bfdf06e66f5819b714d999a7ca0a8fbfa4f..33f5af01dee7be4c7f03e3b9a99454cb1c42abb7 100644
--- a/third_party/WebKit/Source/core/layout/line/EllipsisBox.h
+++ b/third_party/WebKit/Source/core/layout/line/EllipsisBox.h
@@ -45,7 +45,7 @@ public:
void setSelectionState(SelectionState s) { m_selectionState = s; }
IntRect selectionRect() const;
- LayoutUnit virtualLogicalHeight() const override { return m_height; }
+ LayoutUnit virtualLogicalHeight() const override { return LayoutUnit(m_height); }
SelectionState selectionState() const override { return m_selectionState; }
const AtomicString& ellipsisStr() const { return m_str; }
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp ('k') | third_party/WebKit/Source/core/layout/line/LineWidth.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698