<?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>61113</bug_id>
          
          <creation_ts>2011-05-19 00:04:59 -0700</creation_ts>
          <short_desc>Fix build with ENABLE_PLUGIN_PROCESS=1 for non-mac platforms after r86578</short_desc>
          <delta_ts>2011-05-19 09:51:26 -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>WebKit2</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</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="Carlos Garcia Campos">cgarcia</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>andersca</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>406268</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2011-05-19 00:04:59 -0700</bug_when>
    <thetext>PluginQuirks::CanShortCircuitSomeNPRuntimeCallsDuringInitialization is only defined for mac.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>406270</commentid>
    <comment_count>1</comment_count>
      <attachid>94048</attachid>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2011-05-19 00:06:21 -0700</bug_when>
    <thetext>Created attachment 94048
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>406338</commentid>
    <comment_count>2</comment_count>
      <attachid>94048</attachid>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2011-05-19 04:54:39 -0700</bug_when>
    <thetext>Comment on attachment 94048
Patch

Wouldn&apos;t it be better to define PluginQuirks::CanShortCircuitSomeNPRuntimeCallsDuringInitialization instead of introducing #ifdefs?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>406342</commentid>
    <comment_count>3</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2011-05-19 05:06:55 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; (From update of attachment 94048 [details])
&gt; Wouldn&apos;t it be better to define PluginQuirks::CanShortCircuitSomeNPRuntimeCallsDuringInitialization instead of introducing #ifdefs?

I don&apos;t know what that quirk is, that&apos;s why I filed the bug instead of just fixing the build.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>406343</commentid>
    <comment_count>4</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2011-05-19 05:16:14 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; (In reply to comment #2)
&gt; &gt; (From update of attachment 94048 [details] [details])
&gt; &gt; Wouldn&apos;t it be better to define PluginQuirks::CanShortCircuitSomeNPRuntimeCallsDuringInitialization instead of introducing #ifdefs?
&gt; 
&gt; I don&apos;t know what that quirk is, that&apos;s why I filed the bug instead of just fixing the build.

According to the changelog, the quirk is mac specific

* Shared/Plugins/PluginQuirks.h:
Add Mac specific CanShortCircuitSomeNPRuntimeCallsDuringInitialization quirk.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>406454</commentid>
    <comment_count>5</comment_count>
    <who name="Anders Carlsson">andersca</who>
    <bug_when>2011-05-19 09:42:25 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; (From update of attachment 94048 [details])
&gt; Wouldn&apos;t it be better to define PluginQuirks::CanShortCircuitSomeNPRuntimeCallsDuringInitialization instead of introducing #ifdefs?

I&apos;d really like platform-specific quirks to be #ifdeffed out so we know which platforms they apply to.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>406461</commentid>
    <comment_count>6</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2011-05-19 09:51:26 -0700</bug_when>
    <thetext>Committed r86848: &lt;http://trac.webkit.org/changeset/86848&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>94048</attachid>
            <date>2011-05-19 00:06:21 -0700</date>
            <delta_ts>2011-05-19 09:42:38 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>wk2-build-fix.diff</filename>
            <type>text/plain</type>
            <size>2322</size>
            <attacher name="Carlos Garcia Campos">cgarcia</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJLaXQyL0NoYW5nZUxvZyBiL1NvdXJjZS9XZWJLaXQyL0No
YW5nZUxvZwppbmRleCAyMGU2MWU2Li4zMjI1ZjMyIDEwMDY0NAotLS0gYS9Tb3VyY2UvV2ViS2l0
Mi9DaGFuZ2VMb2cKKysrIGIvU291cmNlL1dlYktpdDIvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsMTQg
QEAKKzIwMTEtMDUtMTkgIENhcmxvcyBHYXJjaWEgQ2FtcG9zICA8Y2dhcmNpYUBpZ2FsaWEuY29t
PgorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIEZpeCBi
dWlsZCB3aXRoIEVOQUJMRV9QTFVHSU5fUFJPQ0VTUz0xIGZvciBub24tbWFjIHBsYXRmb3JtcyBh
ZnRlciByODY1NzgKKyAgICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dp
P2lkPTYxMTEzCisKKyAgICAgICAgKiBQbHVnaW5Qcm9jZXNzL1BsdWdpbkNvbnRyb2xsZXJQcm94
eS5jcHA6CisgICAgICAgIChXZWJLaXQ6OlBsdWdpbkN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nb2R1bGUoKS0+cGx1Z2luUXVp
cmtzKCkuY29udGFpbnMoUGx1Z2luUXVpcmtzOjpDYW5TaG9ydENpcmN1aXRTb21lTlBSdW50aW1l
Q2FsbHNEdXJpbmdJbml0aWFsaXphdGlvbikpCiAgICAgICAgIHJldHVybiBmYWxzZTsKKyNlbHNl
CisgICAgcmV0dXJuIGZhbHNlOworI2VuZGlmCiAKICAgICAvLyBBbmQgb25seSB3aGVuIHdlJ3Jl
IGluIGluaXRpYWxpemUuCiAgICAgaWYgKCFpbkluaXRpYWxpemUoKSkK
</data>
<flag name="review"
          id="87297"
          type_id="1"
          status="+"
          setter="andersca"
    />
          </attachment>
      

    </bug>

</bugzilla>