| Index: third_party/WebKit/Source/web/RotationViewportAnchor.h
|
| diff --git a/third_party/WebKit/Source/web/RotationViewportAnchor.h b/third_party/WebKit/Source/web/RotationViewportAnchor.h
|
| index 6aa31308c7a4a728e073b27100d763e59803248b..f0ccb022241135ebf1ba73afa2fa0d95612117dc 100644
|
| --- a/third_party/WebKit/Source/web/RotationViewportAnchor.h
|
| +++ b/third_party/WebKit/Source/web/RotationViewportAnchor.h
|
| @@ -10,7 +10,6 @@
|
| #include "platform/geometry/IntRect.h"
|
| #include "platform/geometry/LayoutRect.h"
|
| #include "platform/heap/Handle.h"
|
| -#include "web/ViewportAnchor.h"
|
|
|
| namespace blink {
|
|
|
| @@ -27,7 +26,7 @@ class VisualViewport;
|
| // viewport origin maintains its orientation relative to the anchor. If there is
|
| // no node or it is lost during the resize, we fall back to the resize anchor
|
| // logic.
|
| -class RotationViewportAnchor : public ViewportAnchor {
|
| +class RotationViewportAnchor {
|
| STACK_ALLOCATED();
|
| public:
|
| RotationViewportAnchor(FrameView& rootFrameView, VisualViewport&, const FloatSize& anchorInInnerViewCoords, PageScaleConstraintsSet&);
|
| @@ -41,6 +40,9 @@ private:
|
|
|
| void computeOrigins(const FloatSize& innerSize, IntPoint& mainFrameOffset, FloatPoint& visualViewportOffset) const;
|
|
|
| + Member<FrameView> m_rootFrameView;
|
| + Member<VisualViewport> m_visualViewport;
|
| +
|
| float m_oldPageScaleFactor;
|
| float m_oldMinimumPageScaleFactor;
|
|
|
|
|