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

Unified Diff: Source/core/rendering/svg/RenderSVGPath.h

Issue 810343003: Fix pointer-events:all when stroke="none" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove braces from single-line if statement Created 5 years, 12 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/rendering/svg/RenderSVGPath.h
diff --git a/Source/core/rendering/svg/RenderSVGPath.h b/Source/core/rendering/svg/RenderSVGPath.h
index 43aa53a04a102885b6ecd1b6adcc175fe7c61eba..9815067f2e1941a1d2d10376bcc286a214d08758 100644
--- a/Source/core/rendering/svg/RenderSVGPath.h
+++ b/Source/core/rendering/svg/RenderSVGPath.h
@@ -48,6 +48,8 @@ private:
virtual bool shapeDependentStrokeContains(const FloatPoint&) override;
+ virtual FloatRect actualStrokeBoundingBox() const;
+
FloatRect markerRect(float strokeWidth) const;
bool shouldGenerateMarkerPositions() const;
virtual void processMarkerPositions() override;
@@ -56,6 +58,7 @@ private:
void updateZeroLengthSubpaths();
Vector<MarkerPosition> m_markerPositions;
+ FloatRect m_markerRect;
Vector<FloatPoint> m_zeroLengthLinecapLocations;
};

Powered by Google App Engine
This is Rietveld 408576698