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

Unified Diff: Source/core/css/resolver/StyleBuilderConverter.h

Issue 983103003: Use Length for the stroke-width property in SVGLayoutStyle (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: lengthSetterForProperty Created 5 years, 9 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
Index: Source/core/css/resolver/StyleBuilderConverter.h
diff --git a/Source/core/css/resolver/StyleBuilderConverter.h b/Source/core/css/resolver/StyleBuilderConverter.h
index 19762667a7f50a214fd9ef4ec1edd65ad16923c2..ca10e721aade7217b4167057985731f629c73981 100644
--- a/Source/core/css/resolver/StyleBuilderConverter.h
+++ b/Source/core/css/resolver/StyleBuilderConverter.h
@@ -35,7 +35,6 @@
#include "core/layout/style/ShadowList.h"
#include "core/layout/style/StyleReflection.h"
#include "core/layout/style/TransformOrigin.h"
-#include "core/svg/SVGLength.h"
#include "platform/LengthSize.h"
#include "platform/fonts/FontDescription.h"
#include "platform/text/TabSize.h"
@@ -64,6 +63,7 @@ public:
static GridTrackSize convertGridTrackSize(StyleResolverState&, CSSValue*);
template <typename T> static T convertLineWidth(StyleResolverState&, CSSValue*);
static Length convertLength(const StyleResolverState&, CSSValue*);
+ static UnzoomedLength convertUnzoomedLength(const StyleResolverState&, CSSValue*);
static Length convertLengthOrAuto(const StyleResolverState&, CSSValue*);
static Length convertLengthSizing(StyleResolverState&, CSSValue*);
static Length convertLengthMaxSizing(StyleResolverState&, CSSValue*);
@@ -85,7 +85,6 @@ public:
static PassRefPtr<SVGDashArray> convertStrokeDasharray(StyleResolverState&, CSSValue*);
static StyleColor convertStyleColor(StyleResolverState&, CSSValue*, bool forVisitedLink = false);
static Color convertSVGColor(StyleResolverState&, CSSValue*);
- static PassRefPtrWillBeRawPtr<SVGLength> convertSVGLength(StyleResolverState&, CSSValue*);
static float convertTextStrokeWidth(StyleResolverState&, CSSValue*);
static TransformOrigin convertTransformOrigin(StyleResolverState&, CSSValue*);
« no previous file with comments | « Source/core/css/resolver/AnimatedStyleBuilder.cpp ('k') | Source/core/css/resolver/StyleBuilderConverter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698