Bug 37356 - StorageEvent destructor should be in StorageEvent.cpp
Summary: StorageEvent destructor should be in StorageEvent.cpp
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-09 13:33 PDT by Evan Martin
Modified: 2010-04-09 18:56 PDT (History)
2 users (show)

See Also:


Attachments
Patch (1.92 KB, patch)
2010-04-09 13:36 PDT, Evan Martin
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Evan Martin 2010-04-09 13:33:56 PDT
StorageEvent destructor should be in StorageEvent.cpp
Comment 1 Evan Martin 2010-04-09 13:36:35 PDT
Created attachment 52985 [details]
Patch
Comment 2 Evan Martin 2010-04-09 13:37:32 PDT
Comment on attachment 52985 [details]
Patch

(This is needed to compile under Clang.)
Comment 3 Evan Martin 2010-04-09 13:37:46 PDT
In file included from third_party/WebKit/WebCore/bindings/v8/custom/V8EventCustom.cpp:32:
In file included from llvm/Debug/obj/gen/webkit/bindings/V8Event.h:25:
In file included from third_party/WebKit/JavaScriptCore/wtf/HashMap.h:24:
In file included from third_party/WebKit/JavaScriptCore/wtf/HashTable.h:26:
In file included from third_party/WebKit/JavaScriptCore/wtf/HashTraits.h:24:
In file included from third_party/WebKit/JavaScriptCore/wtf/HashFunctions.h:24:
In file included from third_party/WebKit/JavaScriptCore/wtf/RefPtr.h:27:
third_party/WebKit/JavaScriptCore/wtf/PassRefPtr.h:66:16: error: member access into incomplete type 'WebCore::Storage'
            ptr->deref();
               ^
In file included from third_party/WebKit/WebCore/bindings/v8/custom/V8EventCustom.cpp:32:
In file included from llvm/Debug/obj/gen/webkit/bindings/V8Event.h:25:
In file included from third_party/WebKit/JavaScriptCore/wtf/HashMap.h:24:
In file included from third_party/WebKit/JavaScriptCore/wtf/HashTable.h:26:
In file included from third_party/WebKit/JavaScriptCore/wtf/HashTraits.h:24:
In file included from third_party/WebKit/JavaScriptCore/wtf/HashFunctions.h:24:
third_party/WebKit/JavaScriptCore/wtf/RefPtr.h:54:21: note: in instantiation of function template specialization
      'WTF::derefIfNotNull<WebCore::Storage>' requested here
        ~RefPtr() { derefIfNotNull(m_ptr); }
                    ^
In file included from third_party/WebKit/WebCore/bindings/v8/custom/V8EventCustom.cpp:53:
In file included from llvm/Debug/obj/gen/webkit/bindings/V8StorageEvent.h:31:
third_party/WebKit/WebCore/storage/StorageEvent.h:38:11: note: in instantiation of member function
      'WTF::RefPtr<WebCore::Storage>::~RefPtr' requested here
    class StorageEvent : public Event {
          ^
In file included from third_party/WebKit/WebCore/bindings/v8/custom/V8EventCustom.cpp:41:
In file included from llvm/Debug/obj/gen/webkit/bindings/V8CompositionEvent.h:28:
In file included from third_party/WebKit/WebCore/dom/CompositionEvent.h:30:
In file included from third_party/WebKit/WebCore/dom/UIEvent.h:27:
third_party/WebKit/WebCore/page/DOMWindow.h:70:11: note: forward declaration of 'WebCore::Storage'
    class Storage;
          ^
1 error generated.
Comment 4 WebKit Commit Bot 2010-04-09 18:56:25 PDT
Comment on attachment 52985 [details]
Patch

Clearing flags on attachment: 52985

Committed r57394: <http://trac.webkit.org/changeset/57394>
Comment 5 WebKit Commit Bot 2010-04-09 18:56:30 PDT
All reviewed patches have been landed.  Closing bug.