Index: Source/core/frame/DOMWindow.h |
diff --git a/Source/core/frame/DOMWindow.h b/Source/core/frame/DOMWindow.h |
index 4e4127f14aae2c1d65402dd1bd931e9e2f7cdbba..fbdee4942b3b1c39c842bdef3bbf2b66c4660afa 100644 |
--- a/Source/core/frame/DOMWindow.h |
+++ b/Source/core/frame/DOMWindow.h |
@@ -89,7 +89,7 @@ enum PageshowEventPersistence { |
enum SetLocationLocking { LockHistoryBasedOnGestureState, LockHistoryAndBackForwardList }; |
- class DOMWindow : public RefCounted<DOMWindow>, public ScriptWrappable, public EventTargetWithInlineData, public FrameDestructionObserver, public Supplementable<DOMWindow>, public LifecycleContext<DOMWindow> { |
+ class DOMWindow FINAL : public RefCounted<DOMWindow>, public ScriptWrappable, public EventTargetWithInlineData, public FrameDestructionObserver, public Supplementable<DOMWindow>, public LifecycleContext<DOMWindow> { |
REFCOUNTED_EVENT_TARGET(DOMWindow); |
public: |
static PassRefPtr<Document> createDocument(const String& mimeType, const DocumentInit&, bool forceXHTML); |
@@ -101,7 +101,7 @@ enum PageshowEventPersistence { |
virtual const AtomicString& interfaceName() const OVERRIDE; |
virtual ExecutionContext* executionContext() const OVERRIDE; |
- virtual DOMWindow* toDOMWindow(); |
+ virtual DOMWindow* toDOMWindow() OVERRIDE; |
void registerProperty(DOMWindowProperty*); |
void unregisterProperty(DOMWindowProperty*); |