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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGText.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/layout/svg/LayoutSVGText.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp
index d5c12da2cdad6c98a2e8ff24bb65f5c1dd66ed28..49ca3a8d5be6e9f122b066b1aecb50906453c36f 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp
@@ -388,8 +388,8 @@ void LayoutSVGText::layout()
setLogicalHeight(beforeEdge);
LayoutState state(*this, locationOffset());
- LayoutUnit paintInvalidationLogicalTop = 0;
- LayoutUnit paintInvalidationLogicalBottom = 0;
+ LayoutUnit paintInvalidationLogicalTop;
+ LayoutUnit paintInvalidationLogicalBottom;
layoutInlineChildren(true, paintInvalidationLogicalTop, paintInvalidationLogicalBottom, afterEdge);
if (m_needsReordering)

Powered by Google App Engine
This is Rietveld 408576698