Commit 034ea7e2 authored by sigbjornf's avatar sigbjornf Committed by Commit bot

Have ResizeViewportAnchor derive from GarbageCollected<> only.

Drop use of GarbageCollectedFinalized<>; not needed for this
class.

R=
BUG=

Review-Url: https://codereview.chromium.org/2192373002
Cr-Commit-Position: refs/heads/master@{#408888}
parent 2378d8a3
......@@ -9,7 +9,6 @@
#include "core/frame/VisualViewport.h"
#include "core/page/Page.h"
#include "platform/geometry/DoubleRect.h"
#include "platform/geometry/DoubleSize.h"
#include "platform/geometry/FloatSize.h"
namespace blink {
......
......@@ -6,6 +6,7 @@
#define ResizeViewportAnchor_h
#include "core/page/Page.h"
#include "platform/geometry/DoubleSize.h"
#include "platform/heap/Handle.h"
namespace blink {
......@@ -18,7 +19,7 @@ class FrameView;
// It is needed when the layout viewport grows (causing its own scroll position
// to be clamped) and also when it shrinks (causing the visual viewport's scroll
// position to be clamped).
class ResizeViewportAnchor : public GarbageCollectedFinalized<ResizeViewportAnchor> {
class ResizeViewportAnchor final : public GarbageCollected<ResizeViewportAnchor> {
WTF_MAKE_NONCOPYABLE(ResizeViewportAnchor);
public:
ResizeViewportAnchor(Page& page)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment