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

Unified Diff: Source/core/rendering/svg/RenderSVGEllipse.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/RenderSVGEllipse.h
diff --git a/Source/core/rendering/svg/RenderSVGEllipse.h b/Source/core/rendering/svg/RenderSVGEllipse.h
index b73b5526853a2d1c1c684f2e2f909e1d539d94f8..45b12f7727f853f2523d6bc391f291510c9ed5fe 100644
--- a/Source/core/rendering/svg/RenderSVGEllipse.h
+++ b/Source/core/rendering/svg/RenderSVGEllipse.h
@@ -36,6 +36,8 @@ public:
explicit RenderSVGEllipse(SVGGraphicsElement*);
virtual ~RenderSVGEllipse();
+ virtual bool isRenderingDisabled() const OVERRIDE;
+
private:
virtual const char* renderName() const OVERRIDE { return "RenderSVGEllipse"; }
@@ -45,6 +47,7 @@ private:
virtual void strokeShape(GraphicsContext*) const OVERRIDE;
virtual bool shapeDependentStrokeContains(const FloatPoint&) OVERRIDE;
virtual bool shapeDependentFillContains(const FloatPoint&, const WindRule) const OVERRIDE;
+
void calculateRadiiAndCenter();
private:

Powered by Google App Engine
This is Rietveld 408576698