<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>37356</bug_id>
          
          <creation_ts>2010-04-09 13:33:56 -0700</creation_ts>
          <short_desc>StorageEvent destructor should be in StorageEvent.cpp</short_desc>
          <delta_ts>2010-04-09 18:56:30 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Other</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Evan Martin">evan</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>jorlow</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>210885</commentid>
    <comment_count>0</comment_count>
    <who name="Evan Martin">evan</who>
    <bug_when>2010-04-09 13:33:56 -0700</bug_when>
    <thetext>StorageEvent destructor should be in StorageEvent.cpp</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>210887</commentid>
    <comment_count>1</comment_count>
      <attachid>52985</attachid>
    <who name="Evan Martin">evan</who>
    <bug_when>2010-04-09 13:36:35 -0700</bug_when>
    <thetext>Created attachment 52985
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>210888</commentid>
    <comment_count>2</comment_count>
      <attachid>52985</attachid>
    <who name="Evan Martin">evan</who>
    <bug_when>2010-04-09 13:37:32 -0700</bug_when>
    <thetext>Comment on attachment 52985
Patch

(This is needed to compile under Clang.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>210891</commentid>
    <comment_count>3</comment_count>
    <who name="Evan Martin">evan</who>
    <bug_when>2010-04-09 13:37:46 -0700</bug_when>
    <thetext>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 &apos;WebCore::Storage&apos;
            ptr-&gt;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
      &apos;WTF::derefIfNotNull&lt;WebCore::Storage&gt;&apos; 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
      &apos;WTF::RefPtr&lt;WebCore::Storage&gt;::~RefPtr&apos; 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 &apos;WebCore::Storage&apos;
    class Storage;
          ^
1 error generated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>211080</commentid>
    <comment_count>4</comment_count>
      <attachid>52985</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-04-09 18:56:25 -0700</bug_when>
    <thetext>Comment on attachment 52985
Patch

Clearing flags on attachment: 52985

Committed r57394: &lt;http://trac.webkit.org/changeset/57394&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>211081</commentid>
    <comment_count>5</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-04-09 18:56:30 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>52985</attachid>
            <date>2010-04-09 13:36:35 -0700</date>
            <delta_ts>2010-04-09 18:56:25 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-37356-20100409133651.patch</filename>
            <type>text/plain</type>
            <size>1961</size>
            <attacher name="Evan Martin">evan</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYkNvcmUvQ2hhbmdlTG9nIGIvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXgg
NDliOGQxZi4uNjY2Njg1NCAxMDA2NDQKLS0tIGEvV2ViQ29yZS9DaGFuZ2VMb2cKKysrIGIvV2Vi
Q29yZS9DaGFuZ2VMb2cKQEAgLTEsMyArMSwxOCBAQAorMjAxMC0wNC0wOSAgR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