Index: third_party/WebKit/Source/core/paint/BoxBorderPainter.cpp |
diff --git a/third_party/WebKit/Source/core/paint/BoxBorderPainter.cpp b/third_party/WebKit/Source/core/paint/BoxBorderPainter.cpp |
index 24a41842bca3eecb1dfa6ca92874912d46befbf6..15e67cd1ad007cba8b16e4ac6eab1a9bd48611c8 100644 |
--- a/third_party/WebKit/Source/core/paint/BoxBorderPainter.cpp |
+++ b/third_party/WebKit/Source/core/paint/BoxBorderPainter.cpp |
@@ -971,10 +971,10 @@ void BoxBorderPainter::drawBoxSideFromPath(GraphicsContext& graphicsContext, |
// Paint inner only |
GraphicsContextStateSaver stateSaver(graphicsContext); |
- LayoutUnit topWidth = m_edges[BSTop].usedWidth() / 2; |
- LayoutUnit bottomWidth = m_edges[BSBottom].usedWidth() / 2; |
- LayoutUnit leftWidth = m_edges[BSLeft].usedWidth() / 2; |
- LayoutUnit rightWidth = m_edges[BSRight].usedWidth() / 2; |
+ LayoutUnit topWidth(m_edges[BSTop].usedWidth() / 2); |
+ LayoutUnit bottomWidth(m_edges[BSBottom].usedWidth() / 2); |
+ LayoutUnit leftWidth(m_edges[BSLeft].usedWidth() / 2); |
+ LayoutUnit rightWidth(m_edges[BSRight].usedWidth() / 2); |
FloatRoundedRect clipRect = m_style.getRoundedInnerBorderFor(borderRect, |
LayoutRectOutsets(-topWidth, -rightWidth, -bottomWidth, -leftWidth), |