| Index: third_party/WebKit/Source/core/paint/NinePieceImageGrid.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/NinePieceImageGrid.cpp b/third_party/WebKit/Source/core/paint/NinePieceImageGrid.cpp
|
| index 087128fc5512398504e76608a9ce74fdfcf0309c..97b004fd2e6f9fe48aa3715d39cd80ef3f6a02bb 100644
|
| --- a/third_party/WebKit/Source/core/paint/NinePieceImageGrid.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/NinePieceImageGrid.cpp
|
| @@ -182,8 +182,9 @@ static inline void setVerticalEdge(
|
|
|
| void NinePieceImageGrid::setDrawInfoEdge(NinePieceDrawInfo& drawInfo,
|
| NinePiece piece) const {
|
| - IntSize edgeSourceSize = m_imageSize - IntSize(m_left.slice + m_right.slice,
|
| - m_top.slice + m_bottom.slice);
|
| + IntSize edgeSourceSize =
|
| + m_imageSize -
|
| + IntSize(m_left.slice + m_right.slice, m_top.slice + m_bottom.slice);
|
| IntSize edgeDestinationSize =
|
| m_borderImageArea.size() -
|
| IntSize(m_left.width + m_right.width, m_top.width + m_bottom.width);
|
| @@ -229,8 +230,9 @@ void NinePieceImageGrid::setDrawInfoEdge(NinePieceDrawInfo& drawInfo,
|
| }
|
|
|
| void NinePieceImageGrid::setDrawInfoMiddle(NinePieceDrawInfo& drawInfo) const {
|
| - IntSize sourceSize = m_imageSize - IntSize(m_left.slice + m_right.slice,
|
| - m_top.slice + m_bottom.slice);
|
| + IntSize sourceSize =
|
| + m_imageSize -
|
| + IntSize(m_left.slice + m_right.slice, m_top.slice + m_bottom.slice);
|
| IntSize destinationSize =
|
| m_borderImageArea.size() -
|
| IntSize(m_left.width + m_right.width, m_top.width + m_bottom.width);
|
|
|