Changeset 57394 in webkit


Ignore:
Timestamp:
Apr 9, 2010 6:56:18 PM (14 years ago)
Author:
eric@webkit.org
Message:

2010-04-09 Evan Martin <evan@chromium.org>

Reviewed by Darin Adler.

StorageEvent destructor should be in StorageEvent.cpp
https://bugs.webkit.org/show_bug.cgi?id=37356

Because Storage is forward-declared in StorageEvent.h, we need to define
the StorageEvent destructor in the .cpp file so that the RefPtr<Storage>
destructor has a complete type for Storage.

  • storage/StorageEvent.cpp: (WebCore::StorageEvent::~StorageEvent):
  • storage/StorageEvent.h:
Location:
trunk/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r57393 r57394  
     12010-04-09  Evan Martin  <evan@chromium.org>
     2
     3        Reviewed by Darin Adler.
     4
     5        StorageEvent destructor should be in StorageEvent.cpp
     6        https://bugs.webkit.org/show_bug.cgi?id=37356
     7
     8        Because Storage is forward-declared in StorageEvent.h, we need to define
     9        the StorageEvent destructor in the .cpp file so that the RefPtr<Storage>
     10        destructor has a complete type for Storage.
     11
     12        * storage/StorageEvent.cpp:
     13        (WebCore::StorageEvent::~StorageEvent):
     14        * storage/StorageEvent.h:
     15
    1162010-04-09  Young Han Lee  <joybro@company100.net>
    217
  • trunk/WebCore/storage/StorageEvent.cpp

    r53840 r57394  
    4242}
    4343
     44StorageEvent::~StorageEvent()
     45{
     46}
     47
    4448PassRefPtr<StorageEvent> StorageEvent::create(const AtomicString& type, const String& key, const String& oldValue, const String& newValue, const String& uri, Storage* storageArea)
    4549{
  • trunk/WebCore/storage/StorageEvent.h

    r49830 r57394  
    4040        static PassRefPtr<StorageEvent> create();
    4141        static PassRefPtr<StorageEvent> create(const AtomicString& type, const String& key, const String& oldValue, const String& newValue, const String& uri, Storage* storageArea);
     42        virtual ~StorageEvent();
    4243
    4344        const String& key() const { return m_key; }
Note: See TracChangeset for help on using the changeset viewer.