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

Unified Diff: third_party/WebKit/Source/core/style/SVGComputedStyleDefs.h

Issue 2753013004: Apply SVG styles paint-order, stroke-linejoin, and stroke-linecap on DOM text
Patch Set: Apply SVG styles paint-order, stroke-linejoin, and stroke-linecap on DOM text Created 3 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: third_party/WebKit/Source/core/style/SVGComputedStyleDefs.h
diff --git a/third_party/WebKit/Source/core/style/SVGComputedStyleDefs.h b/third_party/WebKit/Source/core/style/SVGComputedStyleDefs.h
index d037cf4b741c737a2d1acb92d6b5932c0ca907f1..f9fcece70474f3acb941e85e5f8110a9ef7a61e7 100644
--- a/third_party/WebKit/Source/core/style/SVGComputedStyleDefs.h
+++ b/third_party/WebKit/Source/core/style/SVGComputedStyleDefs.h
@@ -147,27 +147,6 @@ class StyleFillData : public RefCounted<StyleFillData> {
StyleFillData(const StyleFillData&);
};
-class UnzoomedLength {
- DISALLOW_NEW();
-
- public:
- explicit UnzoomedLength(const Length& length) : m_length(length) {}
-
- bool isZero() const { return m_length.isZero(); }
-
- bool operator==(const UnzoomedLength& other) const {
- return m_length == other.m_length;
- }
- bool operator!=(const UnzoomedLength& other) const {
- return !operator==(other);
- }
-
- const Length& length() const { return m_length; }
-
- private:
- Length m_length;
-};
-
class CORE_EXPORT StyleStrokeData : public RefCounted<StyleStrokeData> {
public:
static PassRefPtr<StyleStrokeData> create() {
@@ -186,7 +165,6 @@ class CORE_EXPORT StyleStrokeData : public RefCounted<StyleStrokeData> {
float opacity;
float miterLimit;
- UnzoomedLength width;
Length dashOffset;
RefPtr<SVGDashArray> dashArray;

Powered by Google App Engine
This is Rietveld 408576698