<?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>50607</bug_id>
          
          <creation_ts>2010-12-06 18:10:25 -0800</creation_ts>
          <short_desc>Remove stale include of Document.h in V8DOMWrapper.h</short_desc>
          <delta_ts>2010-12-14 04:03:37 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</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>0</everconfirmed>
          <reporter name="Charles Reis">creis</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>japhet</cc>
    
    <cc>vitalyr</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>317986</commentid>
    <comment_count>0</comment_count>
    <who name="Charles Reis">creis</who>
    <bug_when>2010-12-06 18:10:25 -0800</bug_when>
    <thetext>An include of Document.h was added to V8DOMWrapper.h in http://trac.webkit.org/changeset/47921, but it appears this is no longer needed since the convertNodeToV8Object function that was using it is gone.  (Same for the include of V8DOMMap.h.)

I&apos;d like to remove the stale include(s) to avoid a circular include chain introduced by the combination of Nate Chapin&apos;s change to Document.h (http://trac.webkit.org/changeset/73392) and my pending patch to NavigationAction.h (https://bugs.webkit.org/attachment.cgi?id=75044&amp;action=review).

Specifically, after Nate includes DocumentLoader from Document and I include HistoryItem from NavigationAction, it&apos;s possible for V8DOMWrapper to transitively include V8Proxy.  That leads to this compile error:

  CXX(target) out/Debug/obj.target/webcore_bindings/gen/webkit/bindings/V8DerivedSources8.o
In file included from third_party/WebKit/WebCore/bindings/v8/ScriptValue.h:41,
                 from third_party/WebKit/WebCore/bindings/v8/SerializedScriptValue.h:34,
                 from third_party/WebKit/WebCore/history/HistoryItem.h:31,
                 from third_party/WebKit/WebCore/loader/NavigationAction.h:34,
                 from third_party/WebKit/WebCore/loader/DocumentLoader.h:34,
                 from third_party/WebKit/WebCore/dom/Document.h:36,
                 from third_party/WebKit/WebCore/bindings/v8/V8DOMWrapper.h:34,
                 from out/Debug/obj/gen/webkit/bindings/V8BeforeProcessEvent.h:25,
                 from out/Debug/obj/gen/webcore/bindings/V8BeforeProcessEvent.cpp:22,
                 from out/Debug/obj/gen/webkit/bindings/V8DerivedSources3.cpp:31:
third_party/WebKit/WebCore/bindings/v8/V8Proxy.h: In static member function &apos;static v8::Handle&lt;v8::Value&gt; WebCore::V8Proxy::constructDOMObject(const v8::Arguments&amp;, WebCore::WrapperTypeInfo*)&apos;:
third_party/WebKit/WebCore/bindings/v8/V8Proxy.h:362: error: &apos;V8DOMWrapper&apos; has not been declared
third_party/WebKit/WebCore/bindings/v8/V8Proxy.h:364: error: &apos;V8DOMWrapper&apos; has not been declared</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>317997</commentid>
    <comment_count>1</comment_count>
      <attachid>75771</attachid>
    <who name="Charles Reis">creis</who>
    <bug_when>2010-12-06 18:18:38 -0800</bug_when>
    <thetext>Created attachment 75771
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>317999</commentid>
    <comment_count>2</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2010-12-06 18:21:59 -0800</bug_when>
    <thetext>Attachment 75771 did not pass style-queue:

Failed to run &quot;[u&apos;git&apos;, u&apos;reset&apos;, u&apos;--hard&apos;, u&apos;HEAD&apos;]&quot; exit_code: 128
error: Could not write new index file.
fatal: Could not reset index file to revision &apos;HEAD&apos;.


If any of these errors are false positives, please file a bug against check-webkit-style.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>318009</commentid>
    <comment_count>3</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2010-12-06 19:23:07 -0800</bug_when>
    <thetext>Attachment 75771 did not pass style-queue:

Failed to run &quot;[u&apos;git&apos;, u&apos;reset&apos;, u&apos;--hard&apos;, u&apos;HEAD&apos;]&quot; exit_code: 128
error: Could not write new index file.
fatal: Could not reset index file to revision &apos;HEAD&apos;.


If any of these errors are false positives, please file a bug against check-webkit-style.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>318196</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2010-12-07 08:23:10 -0800</bug_when>
    <thetext>Attachment 75771 did not pass style-queue:

Failed to run &quot;[u&apos;git&apos;, u&apos;reset&apos;, u&apos;--hard&apos;, u&apos;refs/remotes/trunk&apos;]&quot; exit_code: 128
error: Could not write new index file.
fatal: Could not reset index file to revision &apos;refs/remotes/trunk&apos;.


If any of these errors are false positives, please file a bug against check-webkit-style.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>321757</commentid>
    <comment_count>5</comment_count>
      <attachid>75771</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-12-14 01:25:39 -0800</bug_when>
    <thetext>Comment on attachment 75771
Patch

I&apos;m surprised Charlie isn&apos;t a committer yet.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>321871</commentid>
    <comment_count>6</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-12-14 03:43:19 -0800</bug_when>
    <thetext>The commit-queue encountered the following flaky tests while processing attachment 75771:

animations/combo-transform-translate+scale.html bug 50958 (authors: cmarrin@apple.com, darin@apple.com, ojan@chromium.org, and pol@apple.com)
animations/play-state-suspend.html bug 50959 (author: cmarrin@apple.com)
The commit-queue is continuing to process your patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>321876</commentid>
    <comment_count>7</comment_count>
      <attachid>75771</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-12-14 04:03:32 -0800</bug_when>
    <thetext>Comment on attachment 75771
Patch

Clearing flags on attachment: 75771

Committed r74014: &lt;http://trac.webkit.org/changeset/74014&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>321877</commentid>
    <comment_count>8</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-12-14 04:03:37 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>75771</attachid>
            <date>2010-12-06 18:18:38 -0800</date>
            <delta_ts>2010-12-14 04:03:32 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-50607-20101206181837.patch</filename>
            <type>text/plain</type>
            <size>1226</size>
            <attacher name="Charles Reis">creis</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiA3MzQyMikKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDMgKzEsMTUgQEAKKzIwMTAtMTItMDYgIENoYXJsaWUgUmVpcyAgPGNyZWlzQGNocm9taXVt
Lm9yZz4KKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICBS
ZW1vdmUgc3RhbGUgaW5jbHVkZSBvZiBEb2N1bWVudC5oIGluIF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YXAuaCIKICNpbmNsdWRlICJWOEV2ZW50LmgiCiAjaW5jbHVkZSAiVjhVdGlsaXRpZXMuaCIKICNp
bmNsdWRlICJWOFhQYXRoTlNSZXNvbHZlci5oIgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>