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

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: 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..4a0dcd86e67f082d50d067b052a9e8b9d14acd42 100644
--- a/Source/core/css/CSSPrimitiveValue.h
+++ b/Source/core/css/CSSPrimitiveValue.h
@@ -253,6 +253,10 @@ public:
{
return adoptRefWillBeNoop(new CSSPrimitiveValue(value));
}
+ static PassRefPtrWillBeRawPtr<CSSPrimitiveValue> create(const LengthSize& value, const RenderStyle& style)
+ {
+ return adoptRefWillBeNoop(new CSSPrimitiveValue(value, style));
+ }
template<typename T> static PassRefPtrWillBeRawPtr<CSSPrimitiveValue> create(T value)
{
return adoptRefWillBeNoop(new CSSPrimitiveValue(value));
@@ -383,6 +387,7 @@ private:
}
CSSPrimitiveValue(const Length&, float zoom);
CSSPrimitiveValue(const LengthSize&);
+ CSSPrimitiveValue(const LengthSize&, const RenderStyle&);
Zoltan 2014/04/29 21:43:24 Is the one parameter LengthSize version is used so
CSSPrimitiveValue(const String&, UnitTypes);
CSSPrimitiveValue(double, UnitTypes);
@@ -405,6 +410,7 @@ private:
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