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

Unified Diff: Source/core/layout/svg/LayoutSVGPath.h

Issue 1328693002: Drop special-case handling of zero-length subpaths (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase; TEs. Created 5 years, 3 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 | « LayoutTests/TestExpectations ('k') | Source/core/layout/svg/LayoutSVGPath.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/svg/LayoutSVGPath.h
diff --git a/Source/core/layout/svg/LayoutSVGPath.h b/Source/core/layout/svg/LayoutSVGPath.h
index 127ab415fc66c4cee7f94d3e32ba7112b0c73b93..2c9cbb1b4d930e7b14039323d41f4e8f1ddebc07 100644
--- a/Source/core/layout/svg/LayoutSVGPath.h
+++ b/Source/core/layout/svg/LayoutSVGPath.h
@@ -37,28 +37,18 @@ public:
const Vector<MarkerPosition>* markerPositions() const override { return &m_markerPositions; }
- const Vector<FloatPoint>* zeroLengthLineCaps() const override { return &m_zeroLengthLinecapLocations; }
- static FloatRect zeroLengthSubpathRect(const FloatPoint&, float);
-
const char* name() const override { return "LayoutSVGPath"; }
private:
- void updateShapeFromElement() override;
void updateStrokeAndFillBoundingBoxes() override;
FloatRect hitTestStrokeBoundingBox() const override;
- bool shapeDependentStrokeContains(const FloatPoint&) override;
-
FloatRect markerRect(float strokeWidth) const;
bool shouldGenerateMarkerPositions() const;
void processMarkerPositions();
- bool shouldStrokeZeroLengthSubpath() const;
- void updateZeroLengthSubpaths();
-
Vector<MarkerPosition> m_markerPositions;
- Vector<FloatPoint> m_zeroLengthLinecapLocations;
};
}
« no previous file with comments | « LayoutTests/TestExpectations ('k') | Source/core/layout/svg/LayoutSVGPath.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698