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

Unified Diff: Source/core/css/CSSPrimitiveValue.h

Issue 255193002: [CSS Shapes] complex calc args for inset round vanish (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove unneeded one parameter LengthSize version Created 6 years, 8 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
« no previous file with comments | « Source/core/css/BasicShapeFunctions.cpp ('k') | Source/core/css/CSSPrimitiveValue.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSPrimitiveValue.h
diff --git a/Source/core/css/CSSPrimitiveValue.h b/Source/core/css/CSSPrimitiveValue.h
index 6536b3f89a3643f719e44f43fef99af5996b0071..139fb65eb29a8a212dba1033c3c8d07bf98c1ed9 100644
--- a/Source/core/css/CSSPrimitiveValue.h
+++ b/Source/core/css/CSSPrimitiveValue.h
@@ -249,9 +249,9 @@ public:
{
return adoptRefWillBeNoop(new CSSPrimitiveValue(value, zoom));
}
- static PassRefPtrWillBeRawPtr<CSSPrimitiveValue> create(const LengthSize& value)
+ static PassRefPtrWillBeRawPtr<CSSPrimitiveValue> create(const LengthSize& value, const RenderStyle& style)
{
- return adoptRefWillBeNoop(new CSSPrimitiveValue(value));
+ return adoptRefWillBeNoop(new CSSPrimitiveValue(value, style));
}
template<typename T> static PassRefPtrWillBeRawPtr<CSSPrimitiveValue> create(T value)
{
@@ -382,7 +382,7 @@ private:
init(length);
}
CSSPrimitiveValue(const Length&, float zoom);
- CSSPrimitiveValue(const LengthSize&);
+ CSSPrimitiveValue(const LengthSize&, const RenderStyle&);
CSSPrimitiveValue(const String&, UnitTypes);
CSSPrimitiveValue(double, UnitTypes);
@@ -404,7 +404,7 @@ private:
template<typename T> operator T*(); // compile-time guard
void init(const Length&);
- void init(const LengthSize&);
+ void init(const LengthSize&, const RenderStyle&);
void init(PassRefPtrWillBeRawPtr<Counter>);
void init(PassRefPtrWillBeRawPtr<Rect>);
void init(PassRefPtrWillBeRawPtr<Pair>);
« no previous file with comments | « Source/core/css/BasicShapeFunctions.cpp ('k') | Source/core/css/CSSPrimitiveValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698