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

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

Issue 2573653003: Remove LayoutSVGViewportContainer's calcViewport and pointIsInsideViewportClip (Closed)
Patch Set: Actually revert SVGSVGElement changes 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
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 b990fa2c6e0109d7b3ec1fa435145f9ef98eb604..389b9b37f018c9faffc20249bc7ec5625b322ec2 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGViewportContainer.h
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGViewportContainer.h
@@ -39,8 +39,6 @@ class LayoutSVGViewportContainer final : public LayoutSVGContainer {
void determineIfLayoutSizeChanged() override;
void setNeedsTransformUpdate() override;
- void paint(const PaintInfo&, const LayoutPoint&) const override;
-
const char* name() const override { return "LayoutSVGViewportContainer"; }
private:
@@ -49,15 +47,15 @@ class LayoutSVGViewportContainer final : public LayoutSVGContainer {
LayoutSVGContainer::isOfType(type);
}
- AffineTransform viewportTransform() const;
AffineTransform localToSVGParentTransform() const override {
return m_localToParentTransform;
}
- void calcViewport() override;
SVGTransformChange calculateLocalTransform() override;
- bool pointIsInsideViewportClip(const FloatPoint& pointInParent) override;
+ bool nodeAtFloatPoint(HitTestResult&,
+ const FloatPoint& pointInParent,
+ HitTestAction) override;
FloatRect m_viewport;
mutable AffineTransform m_localToParentTransform;

Powered by Google App Engine
This is Rietveld 408576698