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

Unified Diff: third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp

Issue 1653673002: Even more explicit LayoutUnit conversion (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@moarConstructors
Patch Set: address comments 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/paint/InlineTextBoxPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp b/third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp
index a664e7728e9804a8507ebed01cb30643ac0e128d..689325a5be700eadfd56fd1034fa9c9714ae8848 100644
--- a/third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp
@@ -382,7 +382,7 @@ void InlineTextBoxPainter::paintDocumentMarker(GraphicsContext& context, const L
if (m_inlineTextBox.truncation() == cFullTruncation)
return;
- LayoutUnit start = 0; // start of line to draw, relative to tx
+ LayoutUnit start; // start of line to draw, relative to tx
LayoutUnit width = m_inlineTextBox.logicalWidth(); // how much line to draw
// Determine whether we need to measure text

Powered by Google App Engine
This is Rietveld 408576698