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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.cpp

Issue 1922223003: Change linesBoundingBox to return LayoutRect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/LayoutSVGInlineText.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.cpp
index 581fa8318486ba8f3734170a55aeb925f53c0216..510baa3d026e8007d6e81dde1996cd277287704a 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.cpp
@@ -123,9 +123,9 @@ FloatRect LayoutSVGInlineText::floatLinesBoundingBox() const
return boundingBox;
}
-IntRect LayoutSVGInlineText::linesBoundingBox() const
+LayoutRect LayoutSVGInlineText::linesBoundingBox() const
{
- return enclosingIntRect(floatLinesBoundingBox());
+ return enclosingLayoutRect(floatLinesBoundingBox());
}
bool LayoutSVGInlineText::characterStartsNewTextChunk(int position) const
« no previous file with comments | « third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.h ('k') | third_party/WebKit/Source/core/paint/PaintLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698