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

Unified Diff: Source/core/rendering/style/NinePieceImage.h

Issue 81123002: Factor out common BorderImageLength code in CSSToStyleMap (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address review comments Created 7 years, 1 month 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/rendering/style/BorderImageLengthBox.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/style/NinePieceImage.h
diff --git a/Source/core/rendering/style/NinePieceImage.h b/Source/core/rendering/style/NinePieceImage.h
index 5ba5124038622e5f4d2da47568d14db3b0b48d6a..dd5ec09a7cc068e3dff2e5fbf7fb59410c9ee2fe 100644
--- a/Source/core/rendering/style/NinePieceImage.h
+++ b/Source/core/rendering/style/NinePieceImage.h
@@ -114,7 +114,7 @@ public:
{
m_data.access()->imageSlices = LengthBox(0);
m_data.access()->fill = true;
- m_data.access()->borderSlices = BorderImageLengthBox();
+ m_data.access()->borderSlices = BorderImageLengthBox(Length(Auto));
}
static LayoutUnit computeOutset(const BorderImageLength& outsetSide, LayoutUnit borderSide)
« no previous file with comments | « Source/core/rendering/style/BorderImageLengthBox.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698