<?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>155657</bug_id>
          
          <creation_ts>2016-03-18 12:15:41 -0700</creation_ts>
          <short_desc>JSDOMGlobalObject.h needs to #include StructureInlines.h</short_desc>
          <delta_ts>2018-11-15 02:12:54 -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>JavaScriptCore</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=191626</see_also>
          <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="Mark Lam">mark.lam</reporter>
          <assigned_to name="Mark Lam">mark.lam</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1176264</commentid>
    <comment_count>0</comment_count>
    <who name="Mark Lam">mark.lam</who>
    <bug_when>2016-03-18 12:15:41 -0700</bug_when>
    <thetext>The Win EWS is complaining about the following:

WebCore.lib(EmptyClients.obj) : error LNK2019: unresolved external symbol &quot;public: static class JSC::Structure * __cdecl JSC::Structure::create(class JSC::VM &amp;,class JSC::JSGlobalObject *,class JSC::JSValue,class JSC::TypeInfo const &amp;,struct JSC::ClassInfo const *,unsigned char,unsigned int)&quot; (?create@Structure@JSC@@SAPAV12@AAVVM@2@PAVJSGlobalObject@2@VJSValue@2@ABVTypeInfo@2@PBUClassInfo@2@EI@Z) referenced in function &quot;public: static class JSC::Structure * __cdecl WebCore::JSDOMGlobalObject::createStructure(class JSC::VM &amp;,class JSC::JSValue)&quot; (?createStructure@JSDOMGlobalObject@WebCore@@SAPAVStructure@JSC@@AAVVM@4@VJSValue@4@@Z) [C:\cygwin\home\buildbot\WebKit\WebKitBuild\Release\Source\WebKit\WebKit.vcxproj]
C:\cygwin\home\buildbot\WebKit\WebKitBuild\Release\bin32\WebKit.dll : fatal error LNK1120: 1 unresolved externals 

Structure::create() is implemented in StructureInlines.h.  Just need to #include the header file.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1176265</commentid>
    <comment_count>1</comment_count>
      <attachid>274444</attachid>
    <who name="Mark Lam">mark.lam</who>
    <bug_when>2016-03-18 12:18:32 -0700</bug_when>
    <thetext>Created attachment 274444
proposed patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1176266</commentid>
    <comment_count>2</comment_count>
    <who name="Mark Lam">mark.lam</who>
    <bug_when>2016-03-18 12:18:53 -0700</bug_when>
    <thetext>Let&apos;s try it on the EWS first.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1176276</commentid>
    <comment_count>3</comment_count>
      <attachid>274444</attachid>
    <who name="Filip Pizlo">fpizlo</who>
    <bug_when>2016-03-18 12:52:17 -0700</bug_when>
    <thetext>Comment on attachment 274444
proposed patch.

View in context: https://bugs.webkit.org/attachment.cgi?id=274444&amp;action=review

&gt; Source/WebCore/bindings/js/JSDOMGlobalObject.h:33
&gt; +#include &lt;runtime/StructureInlines.h&gt;

Any reason not to include JSCInlines.h?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1176278</commentid>
    <comment_count>4</comment_count>
    <who name="Mark Lam">mark.lam</who>
    <bug_when>2016-03-18 12:54:16 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; Comment on attachment 274444 [details]
&gt; proposed patch.
&gt; 
&gt; View in context:
&gt; https://bugs.webkit.org/attachment.cgi?id=274444&amp;action=review
&gt; 
&gt; &gt; Source/WebCore/bindings/js/JSDOMGlobalObject.h:33
&gt; &gt; +#include &lt;runtime/StructureInlines.h&gt;
&gt; 
&gt; Any reason not to include JSCInlines.h?

I was only targeting the specific issue that was reported by the EWS.  JSCInlines.h should work but is overkill for now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1176279</commentid>
    <comment_count>5</comment_count>
    <who name="Mark Lam">mark.lam</who>
    <bug_when>2016-03-18 12:59:14 -0700</bug_when>
    <thetext>Thanks.  Landed in r198440: &lt;http://trac.webkit.org/r198440&gt;.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>274444</attachid>
            <date>2016-03-18 12:18:32 -0700</date>
            <delta_ts>2016-03-18 12:55:10 -0700</delta_ts>
            <desc>proposed patch.</desc>
            <filename>bug-155657.patch</filename>
            <type>text/plain</type>
            <size>1121</size>
            <attacher name="Mark Lam">mark.lam</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDE5ODQzNikKKysrIFNvdXJjZS9XZWJDb3JlL0NoYW5n
ZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDE0IEBACisyMDE2LTAzLTE4ICBNYXJrIExh
bSAgPG1hcmsubGFtQGFwcGxlLmNvbT4KKworICAgICAgICBKU0RPTUdsb2JhbE9iamVjdC5oIG5l
ZWRzIHRvICNpbmNsdWRlIFN0cnVjdHVyZUlubGluZXMuaC4KKyAgICAgICAgaHR0cHM6Ly9idWdz
LndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTE1NTY1NworCisgICAgICAgIFJldmlld2VkIGJ5
IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIE5vIG5ldyB0ZXN0cyBuZWVkZWQuICBUaGlzIGlz
IGEgYnVpbGQgZml4IGZvciB0aGUgV2luIEVXUy4KKworICAgICAgICAqIGJpbmRpbmdzL2pzL0pT
RE9NR2xvYmFsT2JqZWN0Lmg6CisKIDIwMTYtMDMtMTggIEplciBOb2JsZSAgPGplci5ub2JsZUBh
cHBsZS5jb20+CiAKICAgICAgICAgQ2FjaGVkUmVzb3VyY2U6Ok1lZGlhUmVzb3VyY2UgdHlwZXMg
c2hvdWxkbid0IGJlIGJsb2NrZWQgZHVlIHRvIG1peGVkLWNvbnRlbnQuCkluZGV4OiBTb3VyY2Uv
V2ViQ29yZS9iaW5kaW5ncy9qcy9KU0RPTUdsb2JhbE9iamVjdC5oCj09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFNv
dXJjZS9XZWJDb3JlL2JpbmRpbmdzL2pzL0pTRE9NR2xvYmFsT2JqZWN0LmgJKHJldmlzaW9uIDE5
ODQzNikKKysrIFNvdXJjZS9XZWJDb3JlL2JpbmRpbmdzL2pzL0pTRE9NR2xvYmFsT2JqZWN0LmgJ
KHdvcmtpbmcgY29weSkKQEAgLTMwLDYgKzMwLDcgQEAKICNpbmNsdWRlICJQbGF0Zm9ybUV4cG9y
dE1hY3Jvcy5oIgogI2luY2x1ZGUgIldlYkNvcmVKU0J1aWx0aW5JbnRlcm5hbHMuaCIKICNpbmNs
dWRlIDxydW50aW1lL0pTR2xvYmFsT2JqZWN0Lmg+CisjaW5jbHVkZSA8cnVudGltZS9TdHJ1Y3R1
cmVJbmxpbmVzLmg+CiAKIG5hbWVzcGFjZSBXZWJDb3JlIHsKIAo=
</data>
<flag name="review"
          id="298893"
          type_id="1"
          status="+"
          setter="fpizlo"
    />
          </attachment>
      

    </bug>

</bugzilla>