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

Unified Diff: third_party/WebKit/Source/web/ResizeViewportAnchor.h

Issue 2192373002: Have ResizeViewportAnchor derive from GarbageCollected<> only. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/web/ResizeViewportAnchor.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/ResizeViewportAnchor.h
diff --git a/third_party/WebKit/Source/web/ResizeViewportAnchor.h b/third_party/WebKit/Source/web/ResizeViewportAnchor.h
index e3138cc1cd38163e9e6fd08162910e6c851b8b3e..5e5195b458bae14449ce11732ffda2ec2af8f9fe 100644
--- a/third_party/WebKit/Source/web/ResizeViewportAnchor.h
+++ b/third_party/WebKit/Source/web/ResizeViewportAnchor.h
@@ -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)
« no previous file with comments | « no previous file | third_party/WebKit/Source/web/ResizeViewportAnchor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698