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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGViewportContainer.h

Issue 2570293002: Make LayoutSVGViewportContainer <-> SVGSVGElement association obvious (Closed)
Patch Set: Created 4 years 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 | « no previous file | third_party/WebKit/Source/core/layout/svg/LayoutSVGViewportContainer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGViewportContainer.h
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGViewportContainer.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGViewportContainer.h
index 389b9b37f018c9faffc20249bc7ec5625b322ec2..713cffdb577a51858526c2d1f8a45e2a0bed4bf7 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGViewportContainer.h
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGViewportContainer.h
@@ -27,11 +27,13 @@
namespace blink {
+class SVGSVGElement;
+
// This is used for non-root <svg> elements which are SVGTransformable thus we
// inherit from LayoutSVGContainer instead of LayoutSVGTransformableContainer.
class LayoutSVGViewportContainer final : public LayoutSVGContainer {
public:
- explicit LayoutSVGViewportContainer(SVGElement*);
+ explicit LayoutSVGViewportContainer(SVGSVGElement*);
FloatRect viewport() const { return m_viewport; }
bool isLayoutSizeChanged() const { return m_isLayoutSizeChanged; }
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/svg/LayoutSVGViewportContainer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698