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

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

Issue 597753002: Move paint code from RenderSVGForeignObject to SVGForeignObjectPainter (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add SVGForeignObjectPainter Created 6 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 | « Source/core/paint/SVGForeignObjectPainter.cpp ('k') | Source/core/rendering/svg/RenderSVGForeignObject.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/svg/RenderSVGForeignObject.h
diff --git a/Source/core/rendering/svg/RenderSVGForeignObject.h b/Source/core/rendering/svg/RenderSVGForeignObject.h
index ba43911b0031b324d99dd0cc2129a6142d23da5e..03abdfc35cb5c1788b66548d673030700f2cebbc 100644
--- a/Source/core/rendering/svg/RenderSVGForeignObject.h
+++ b/Source/core/rendering/svg/RenderSVGForeignObject.h
@@ -50,6 +50,8 @@ public:
virtual void setNeedsTransformUpdate() OVERRIDE { m_needsTransformUpdate = true; }
+ FloatRect viewportRect() { return m_viewport; }
+
private:
virtual void updateLogicalWidth() OVERRIDE;
virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logicalTop, LogicalExtentComputedValues&) const OVERRIDE;
« no previous file with comments | « Source/core/paint/SVGForeignObjectPainter.cpp ('k') | Source/core/rendering/svg/RenderSVGForeignObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698