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

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

Issue 355813004: [SVG2] Elements that don't render shouldn't contribute to ancestor bboxes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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 48b36762e04db7588aaa1eac47e4790a8cf2203f..c314368892e85cce70886313062c6d8840df3e7f 100644
--- a/Source/core/rendering/svg/RenderSVGPath.h
+++ b/Source/core/rendering/svg/RenderSVGPath.h
@@ -35,6 +35,8 @@ public:
explicit RenderSVGPath(SVGGraphicsElement*);
virtual ~RenderSVGPath();
+ virtual bool isRenderingDisabled() const OVERRIDE;
+
private:
virtual bool isSVGPath() const OVERRIDE { return true; }
virtual const char* renderName() const OVERRIDE { return "RenderSVGPath"; }

Powered by Google App Engine
This is Rietveld 408576698