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

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

Issue 1852183002: Don't apply svg viewport clip when mapping a LayoutSVGRoot's own rect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CORE_EXPORT LayoutSVGRoot Created 4 years, 8 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: third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.h
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.h
index 245e3fb2db656f9042bd1aa068d4ce25f2446bd7..4da040e9f5ce976c48b7535c8eb6029e67cc3e47 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.h
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.h
@@ -29,7 +29,7 @@ namespace blink {
class SVGElement;
-class LayoutSVGRoot final : public LayoutReplaced {
+class CORE_EXPORT LayoutSVGRoot final : public LayoutReplaced {
public:
explicit LayoutSVGRoot(SVGElement*);
~LayoutSVGRoot() override;
@@ -38,7 +38,6 @@ public:
bool isEmbeddedThroughFrameContainingSVGDocument() const;
void computeIntrinsicSizingInfo(IntrinsicSizingInfo&) const override;
- bool mapToVisualRectInAncestorSpace(const LayoutBoxModelObject* ancestor, LayoutRect&, VisualRectFlags = DefaultVisualRectFlags) const override;
// If you have a LayoutSVGRoot, use firstChild or lastChild instead.
void slowFirstChild() const = delete;

Powered by Google App Engine
This is Rietveld 408576698