| Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.h
|
| diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.h
|
| index 8af1ed32e423771b37ec75cbb1a7ad4479f86f9b..a445a2a52398b89a5e0f9735f5bf741aac28b975 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.h
|
| +++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.h
|
| @@ -28,6 +28,7 @@
|
| namespace blink {
|
|
|
| class SVGElement;
|
| +enum class SVGTransformChange;
|
|
|
| class LayoutSVGContainer : public LayoutSVGModelObject {
|
| public:
|
| @@ -70,17 +71,8 @@ protected:
|
|
|
| bool nodeAtFloatPoint(HitTestResult&, const FloatPoint& pointInParent, HitTestAction) override;
|
|
|
| - // The following enumeration is used to optimize cases where the scale is
|
| - // known to be invariant (see: LayoutSVGContainer::layout). The value
|
| - // 'Full' can be used in the general case when the scale change is unknown,
|
| - // or known to change.
|
| - enum class TransformChange {
|
| - None,
|
| - ScaleInvariant,
|
| - Full,
|
| - };
|
| // Allow LayoutSVGTransformableContainer to hook in at the right time in layout().
|
| - virtual TransformChange calculateLocalTransform() { return TransformChange::None; }
|
| + virtual SVGTransformChange calculateLocalTransform();
|
|
|
| // Allow LayoutSVGViewportContainer to hook in at the right times in layout() and nodeAtFloatPoint().
|
| virtual void calcViewport() { }
|
|
|