Index: Source/core/storage/Storage.h |
diff --git a/Source/core/storage/Storage.h b/Source/core/storage/Storage.h |
index 05da1cfe6be1dc2b12a7f2545c406584a7743b47..6a04a5a0c6b4ead8a9ba895471948906456b31f4 100644 |
--- a/Source/core/storage/Storage.h |
+++ b/Source/core/storage/Storage.h |
@@ -39,10 +39,10 @@ namespace WebCore { |
class ExceptionState; |
class Frame; |
-class Storage : public ScriptWrappable, public RefCounted<Storage>, public DOMWindowProperty { |
+class Storage FINAL : public ScriptWrappable, public RefCounted<Storage>, public DOMWindowProperty { |
public: |
static PassRefPtr<Storage> create(Frame*, PassOwnPtr<StorageArea>); |
- ~Storage(); |
+ virtual ~Storage(); |
unsigned length(ExceptionState& ec) const { return m_storageArea->length(ec, m_frame); } |
String key(unsigned index, ExceptionState& ec) const { return m_storageArea->key(index, ec, m_frame); } |