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

Unified Diff: third_party/WebKit/Source/core/paint/NinePieceImageGrid.cpp

Issue 2701993002: DO NOT COMMIT: Results of running new (proposed) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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: 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);

Powered by Google App Engine
This is Rietveld 408576698