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

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

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/paint/SVGRootInlineBoxPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/SVGRootInlineBoxPainter.cpp b/third_party/WebKit/Source/core/paint/SVGRootInlineBoxPainter.cpp
index a8cca1a59d41dc003d1f0419443039c0188cd51c..208cb1f895118a0fbdb85f1be44fb4eb66316234 100644
--- a/third_party/WebKit/Source/core/paint/SVGRootInlineBoxPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/SVGRootInlineBoxPainter.cpp
@@ -39,7 +39,7 @@ void SVGRootInlineBoxPainter::paint(const PaintInfo& paintInfo, const LayoutPoin
SVGPaintContext paintContext(*LineLayoutAPIShim::constLayoutObjectFrom(m_svgRootInlineBox.lineLayoutItem()), paintInfoBeforeFiltering);
if (paintContext.applyClipMaskAndFilterIfNecessary()) {
for (InlineBox* child = m_svgRootInlineBox.firstChild(); child; child = child->nextOnLine())
- child->paint(paintContext.paintInfo(), paintOffset, 0, 0);
+ child->paint(paintContext.paintInfo(), paintOffset, LayoutUnit(), LayoutUnit());
}
}

Powered by Google App Engine
This is Rietveld 408576698