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

Unified Diff: Source/core/paint/BoxBorderPainter.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
« no previous file with comments | « Source/core/paint/BlockFlowPainter.cpp ('k') | Source/core/paint/BoxPainter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/BoxBorderPainter.cpp
diff --git a/Source/core/paint/BoxBorderPainter.cpp b/Source/core/paint/BoxBorderPainter.cpp
index 450e3f47be001eed80484304ca563ad2f707fcb6..aee82226b92be4b0fc5fefab31696636ffb88c10 100644
--- a/Source/core/paint/BoxBorderPainter.cpp
+++ b/Source/core/paint/BoxBorderPainter.cpp
@@ -555,8 +555,8 @@ BoxBorderPainter::BoxBorderPainter(const ComputedStyle& style, const LayoutRect&
, m_bleedAvoidance(BackgroundBleedNone)
, m_includeLogicalLeftEdge(true)
, m_includeLogicalRightEdge(true)
- , m_outer(outer)
- , m_inner(inner)
+ , m_outer(FloatRect(outer))
+ , m_inner(FloatRect(inner))
, m_visibleEdgeCount(0)
, m_firstVisibleEdge(0)
, m_visibleEdgeSet(0)
« no previous file with comments | « Source/core/paint/BlockFlowPainter.cpp ('k') | Source/core/paint/BoxPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698