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

Unified Diff: sky/engine/core/css/CSSPrimitiveValue.h

Issue 711203002: Remove zoom() and effectiveZoom(). (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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 | « sky/engine/core/css/CSSMatrix.cpp ('k') | sky/engine/core/css/CSSPrimitiveValue.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/css/CSSPrimitiveValue.h
diff --git a/sky/engine/core/css/CSSPrimitiveValue.h b/sky/engine/core/css/CSSPrimitiveValue.h
index 0de93f6955f9404e260b0f1886c6009de519995f..3cd8f038b36046bcbdf43bc81f60da2ec4e9edaf 100644
--- a/sky/engine/core/css/CSSPrimitiveValue.h
+++ b/sky/engine/core/css/CSSPrimitiveValue.h
@@ -227,9 +227,9 @@ public:
{
return adoptRef(new CSSPrimitiveValue(value, type));
}
- static PassRefPtr<CSSPrimitiveValue> create(const Length& value, float zoom)
+ static PassRefPtr<CSSPrimitiveValue> create(const Length& value)
{
- return adoptRef(new CSSPrimitiveValue(value, zoom));
+ return adoptRef(new CSSPrimitiveValue(value));
}
static PassRefPtr<CSSPrimitiveValue> create(const LengthSize& value, const RenderStyle& style)
{
@@ -342,7 +342,7 @@ private:
// int vs. unsigned is too subtle to distinguish types, so require a UnitType.
CSSPrimitiveValue(int parserOperator, UnitType);
CSSPrimitiveValue(unsigned color, UnitType); // RGB value
- CSSPrimitiveValue(const Length&, float zoom);
+ CSSPrimitiveValue(const Length&);
CSSPrimitiveValue(const LengthSize&, const RenderStyle&);
CSSPrimitiveValue(const String&, UnitType);
CSSPrimitiveValue(double, UnitType);
« no previous file with comments | « sky/engine/core/css/CSSMatrix.cpp ('k') | sky/engine/core/css/CSSPrimitiveValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698