Index: Source/core/page/Page.h |
diff --git a/Source/core/page/Page.h b/Source/core/page/Page.h |
index 80c32355398f398ac20bf5ae023cf6bc230b1b39..330c8250a66f3b63cf1b7b48da299c9206259259 100644 |
--- a/Source/core/page/Page.h |
+++ b/Source/core/page/Page.h |
@@ -82,7 +82,7 @@ typedef uint64_t LinkHash; |
float deviceScaleFactor(Frame*); |
-class Page : public Supplementable<Page>, public LifecycleContext<Page>, public SettingsDelegate { |
+class Page FINAL : public Supplementable<Page>, public LifecycleContext<Page>, public SettingsDelegate { |
WTF_MAKE_NONCOPYABLE(Page); |
friend class Settings; |
public: |
@@ -105,7 +105,7 @@ public: |
}; |
explicit Page(PageClients&); |
- ~Page(); |
+ virtual ~Page(); |
FrameHost& frameHost() { return *m_frameHost; } |