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

Unified Diff: Source/core/layout/svg/LayoutSVGText.h

Issue 1303413004: Convert some call sites to use explicit LayoutRect->FloatRect conversion. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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
« no previous file with comments | « Source/core/layout/line/RootInlineBox.cpp ('k') | Source/core/page/TouchAdjustment.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/svg/LayoutSVGText.h
diff --git a/Source/core/layout/svg/LayoutSVGText.h b/Source/core/layout/svg/LayoutSVGText.h
index 247682bb793d9e4d53122400bfe6d4c1cc134d5e..aacd1858454cc0e288ab9b76f3c3df7a0962568b 100644
--- a/Source/core/layout/svg/LayoutSVGText.h
+++ b/Source/core/layout/svg/LayoutSVGText.h
@@ -75,7 +75,7 @@ private:
void removeChild(LayoutObject*) override;
void willBeDestroyed() override;
- FloatRect objectBoundingBox() const override { return frameRect(); }
+ FloatRect objectBoundingBox() const override { return FloatRect(frameRect()); }
FloatRect strokeBoundingBox() const override;
RootInlineBox* createRootInlineBox() override;
« no previous file with comments | « Source/core/layout/line/RootInlineBox.cpp ('k') | Source/core/page/TouchAdjustment.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698