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

Unified Diff: Source/core/layout/line/AbstractInlineTextBox.cpp

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
Index: Source/core/layout/line/AbstractInlineTextBox.cpp
diff --git a/Source/core/layout/line/AbstractInlineTextBox.cpp b/Source/core/layout/line/AbstractInlineTextBox.cpp
index d0623c76c8f6b0b66a847e7260246297550f56d8..4491ff830569a2e8243c0e4fa7521fb048359b24 100644
--- a/Source/core/layout/line/AbstractInlineTextBox.cpp
+++ b/Source/core/layout/line/AbstractInlineTextBox.cpp
@@ -99,7 +99,7 @@ LayoutRect AbstractInlineTextBox::bounds() const
if (!m_inlineTextBox || !m_layoutText)
return LayoutRect();
- FloatRect boundaries = m_inlineTextBox->calculateBoundaries();
+ FloatRect boundaries(m_inlineTextBox->calculateBoundaries());
return LayoutRect(m_layoutText->localToAbsoluteQuad(boundaries).enclosingBoundingBox());
}
« no previous file with comments | « Source/core/layout/compositing/CompositingInputsUpdater.cpp ('k') | Source/core/layout/line/RootInlineBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698