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

Unified Diff: Source/core/rendering/style/RenderStyle.cpp

Issue 55783002: Introduce BorderImageLength and BorderImageLengthBox (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Moved BorderImageLength{,Box} to core/rendering/style 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/RenderStyle.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/RenderStyle.cpp
diff --git a/Source/core/rendering/style/RenderStyle.cpp b/Source/core/rendering/style/RenderStyle.cpp
index c7e0870bba01996abfa16c27a26bb990eb4b0ec1..b16d8f6d5feaa17de2531465837a90591aabdcc0 100644
--- a/Source/core/rendering/style/RenderStyle.cpp
+++ b/Source/core/rendering/style/RenderStyle.cpp
@@ -1613,16 +1613,16 @@ void RenderStyle::setBorderImageSlices(LengthBox slices)
void RenderStyle::setBorderImageWidth(LengthBox slices)
{
- if (surround->border.m_image.borderSlices() == slices)
+ if (surround->border.m_image.borderSlices().deprecatedLengthBox() == slices)
return;
- surround.access()->border.m_image.setBorderSlices(slices);
+ surround.access()->border.m_image.setBorderSlices(BorderImageLengthBox(slices));
}
void RenderStyle::setBorderImageOutset(LengthBox outset)
{
- if (surround->border.m_image.outset() == outset)
+ if (surround->border.m_image.outset().deprecatedLengthBox() == outset)
return;
- surround.access()->border.m_image.setOutset(outset);
+ surround.access()->border.m_image.setOutset(BorderImageLengthBox(outset));
}
ShapeValue* RenderStyle::initialShapeInside()
« no previous file with comments | « Source/core/rendering/style/RenderStyle.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698