<?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>57337</bug_id>
          
          <creation_ts>2011-03-29 07:17:34 -0700</creation_ts>
          <short_desc>Fix compilation with Solaris 10/Sun Studio 12 CC : types must match on ?:</short_desc>
          <delta_ts>2011-04-13 07:59:16 -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>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Other</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="Ben Taylor">bentaylor.solx86</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>375289</commentid>
    <comment_count>0</comment_count>
    <who name="Ben Taylor">bentaylor.solx86</who>
    <bug_when>2011-03-29 07:17:34 -0700</bug_when>
    <thetext>in Source/WebCore/dom/NodeRenderStyle.h, the construct in line 36

return m_renderer ? m_renderer-&gt;style() : nonRendererRenderStyle();

fails to compile on Solaris 10/Sun Studio 12 CC, with the error:

Error: Different types for &quot;?:&quot; (bool and WebCore::RenderStyle*).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>375306</commentid>
    <comment_count>1</comment_count>
      <attachid>87320</attachid>
    <who name="Ben Taylor">bentaylor.solx86</who>
    <bug_when>2011-03-29 07:31:53 -0700</bug_when>
    <thetext>Created attachment 87320
Proposed patch which compiles correctly in qt-4.7.2 with webkit enabled on Solaris 10 with SS12 C++ compiler

Fix for the above error, just cast the first conditional return to the appropriate type.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>375309</commentid>
    <comment_count>2</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2011-03-29 07:34:49 -0700</bug_when>
    <thetext>Attachment 87320 did not pass style-queue:

Failed to run &quot;[&apos;Tools/Scripts/check-webkit-style&apos;, &apos;--diff-files&apos;, u&apos;Source/WebCore/ChangeLog&apos;, u&apos;Source/WebCor...&quot; exit_code: 1

Source/WebCore/ChangeLog:1:  ChangeLog entry has no bug number  [changelog/bugnumber] [5]
Total errors found: 1 in 2 files


If any of these errors are false positives, please file a bug against check-webkit-style.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>375355</commentid>
    <comment_count>3</comment_count>
    <who name="Ben Taylor">bentaylor.solx86</who>
    <bug_when>2011-03-29 08:15:09 -0700</bug_when>
    <thetext>ChangeLog entry has a bug number in it.  First line.  Is the style checker so pedantic, that it can&apos;t handle a trailing comma?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>375689</commentid>
    <comment_count>4</comment_count>
      <attachid>87320</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-03-29 13:04:51 -0700</bug_when>
    <thetext>Comment on attachment 87320
Proposed patch which compiles correctly in qt-4.7.2 with webkit enabled on Solaris 10 with SS12 C++ compiler

We don&apos;t use c-style casts in WebKit.  static_cast is your friend. :)  How is style() not a RenderStyle?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>375702</commentid>
    <comment_count>5</comment_count>
    <who name="Ben Taylor">bentaylor.solx86</who>
    <bug_when>2011-03-29 13:22:15 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; (From update of attachment 87320 [details])
&gt; We don&apos;t use c-style casts in WebKit.  static_cast is your friend. :)  How is style() not a RenderStyle?

The compiler reports this as a mismatch.  I can recode as a static_cast, or do as Thiago did in his original patch and say:

+    if (m_renderer)
+        return m_renderer-&gt;style();
+    return nonRendererRenderStyle();

I follow your guidance.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>375983</commentid>
    <comment_count>6</comment_count>
      <attachid>87449</attachid>
    <who name="Ben Taylor">bentaylor.solx86</who>
    <bug_when>2011-03-29 18:54:37 -0700</bug_when>
    <thetext>Created attachment 87449
Updated patch which compiles correctly in qt-4.7.2 with webkit enabled on Solaris 10 with SS12 C++ compiler, changed to static_cast

updated patch using recommended static_cast</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>375991</commentid>
    <comment_count>7</comment_count>
      <attachid>87450</attachid>
    <who name="Ben Taylor">bentaylor.solx86</who>
    <bug_when>2011-03-29 19:02:50 -0700</bug_when>
    <thetext>Created attachment 87450
Updated patch which compiles correctly in qt-4.7.2 with webkit enabled on Solaris 10 with SS12 C++ compiler, changed to static_cast and fix style issue (extra space)

fix extra space in the patch issue, that would have surely flagged the style bot...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>377262</commentid>
    <comment_count>8</comment_count>
      <attachid>87450</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-03-31 09:53:15 -0700</bug_when>
    <thetext>Comment on attachment 87450
Updated patch which compiles correctly in qt-4.7.2 with webkit enabled on Solaris 10 with SS12 C++ compiler, changed to static_cast and fix style issue (extra space)

http://trac.webkit.org/browser/trunk/Source/WebCore/rendering/RenderObject.h#L598

Note that style() is already a RenderStyle*.  Something is fishy here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>377294</commentid>
    <comment_count>9</comment_count>
    <who name="Ben Taylor">bentaylor.solx86</who>
    <bug_when>2011-03-31 10:23:52 -0700</bug_when>
    <thetext>(In reply to comment #8)
&gt; (From update of attachment 87450 [details])
&gt; http://trac.webkit.org/browser/trunk/Source/WebCore/rendering/RenderObject.h#L598
&gt; 
&gt; Note that style() is already a RenderStyle*.  Something is fishy here.

Would you prefer I used Thiago&apos;s method?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>378545</commentid>
    <comment_count>10</comment_count>
      <attachid>88008</attachid>
    <who name="Ben Taylor">bentaylor.solx86</who>
    <bug_when>2011-04-03 06:49:00 -0700</bug_when>
    <thetext>Created attachment 88008
Fixed patch that correct the compile, without trying to static_cast a variable that is already the right type (obviously compiler issue)

This was Thiago Macieria&apos;s version of this patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>382246</commentid>
    <comment_count>11</comment_count>
      <attachid>88008</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-04-08 08:24:14 -0700</bug_when>
    <thetext>Comment on attachment 88008
Fixed patch that correct the compile, without trying to static_cast a variable that is already the right type (obviously compiler issue)

This looks fine, but I would prefer if you would add a comment here:
// Using a ternary here confuses The Solaris 10 compiler:
// http://link-to-solaris-10-compiler-bug

That way someone is unlikely to break it again.

Do we understand why only this one ternary fails?  We have lots of similar ternaries througout the project</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>382253</commentid>
    <comment_count>12</comment_count>
    <who name="Ben Taylor">bentaylor.solx86</who>
    <bug_when>2011-04-08 08:32:38 -0700</bug_when>
    <thetext>(In reply to comment #11)
&gt; (From update of attachment 88008 [details])
&gt; This looks fine, but I would prefer if you would add a comment here:
&gt; // Using a ternary here confuses The Solaris 10 compiler:
&gt; // http://link-to-solaris-10-compiler-bug
&gt; 
&gt; That way someone is unlikely to break it again.
&gt; 
&gt; Do we understand why only this one ternary fails?  We have lots of similar ternaries througout the project

This is a weird one.  I&apos;ve patched on bunch of the ternary operations (similar type things where the types were in fact different) over the last month for webkit.  I will research the bug and see what I can find, and hold off on a updated patch until I can identify it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>383351</commentid>
    <comment_count>13</comment_count>
    <who name="Ben Taylor">bentaylor.solx86</who>
    <bug_when>2011-04-11 12:11:43 -0700</bug_when>
    <thetext>(In reply to comment #11)
&gt; (From update of attachment 88008 [details])
&gt; This looks fine, but I would prefer if you would add a comment here:
&gt; // Using a ternary here confuses The Solaris 10 compiler:
&gt; // http://link-to-solaris-10-compiler-bug
&gt; 
&gt; That way someone is unlikely to break it again.
&gt; 
&gt; Do we understand why only this one ternary fails?  We have lots of similar ternaries througout the project

Bug id found.  If I remove the inline from the template, the problem goes away which confirms bug CR 6569194, &quot;Problem with question operator binding in inline function&quot;.  However, the recommendation was to use the if clause to fix this problem as removing the inline was not a good work around.

Fixing up the comments and will resubmit the patch.  However, the Bug report is not publically available, so will just provide the bug number and description.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>383366</commentid>
    <comment_count>14</comment_count>
      <attachid>89050</attachid>
    <who name="Ben Taylor">bentaylor.solx86</who>
    <bug_when>2011-04-11 12:24:52 -0700</bug_when>
    <thetext>Created attachment 89050
Updated patch which explains that we are working around Solaris Studio 12/12.1/12.2 compiler bug with ternary operations.

Patch updated with proper comments on why we fix the bug the way we did.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>384844</commentid>
    <comment_count>15</comment_count>
      <attachid>89050</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-04-13 06:53:57 -0700</bug_when>
    <thetext>Comment on attachment 89050
Updated patch which explains that we are working around Solaris Studio 12/12.1/12.2 compiler bug with ternary operations.

Thanks! This is a much much much better fix.  (Since it won&apos;t regress since it&apos;s commented, and with the bug number we now have some way of eventually removing it.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>384883</commentid>
    <comment_count>16</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2011-04-13 07:55:50 -0700</bug_when>
    <thetext>The commit-queue encountered the following flaky tests while processing attachment 89050:

fast/loader/recursive-before-unload-crash.html bug 50880 (authors: beidson@apple.com and eric@webkit.org)
The commit-queue is continuing to process your patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>384886</commentid>
    <comment_count>17</comment_count>
      <attachid>89050</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2011-04-13 07:59:12 -0700</bug_when>
    <thetext>Comment on attachment 89050
Updated patch which explains that we are working around Solaris Studio 12/12.1/12.2 compiler bug with ternary operations.

Clearing flags on attachment: 89050

Committed r83736: &lt;http://trac.webkit.org/changeset/83736&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>384887</commentid>
    <comment_count>18</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2011-04-13 07:59:16 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>87320</attachid>
            <date>2011-03-29 07:31:53 -0700</date>
            <delta_ts>2011-03-29 18:54:37 -0700</delta_ts>
            <desc>Proposed patch which compiles correctly in qt-4.7.2 with webkit enabled on Solaris 10 with SS12 C++ compiler</desc>
            <filename>webkit-bug-57337-fix-types-in-NodeRenderStyle.h.diff</filename>
            <type>text/plain</type>
            <size>1281</size>
            <attacher name="Ben Taylor">bentaylor.solx86</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDgyMjQ2KQorKysgU291cmNlL1dlYkNvcmUvQ2hhbmdl
TG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMTcgQEAKKzIwMTEtMDMtMjkgIEJlbiBUYXls
b3IgIDxiZW50YXlsb3Iuc29seDg2QGdtYWlsLmNvbT4KKworICAgICAgICBSZXZpZXdlZCBieSBO
T0JPRFkgKE9PUFMhKS4KKworICAgICAgICBodHRwczovL2J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cmVuZGVyZXIt
PnN0eWxlKCkgOiBub25SZW5kZXJlclJlbmRlclN0eWxlKCk7CisgICAgcmV0dXJuIG1fcmVuZGVy
ZXIgPyAoV2ViQ29yZTo6UmVuZGVyU3R5bGUqKW1fcmVuZGVyZXItPnN0eWxlKCkgOiBub25SZW5k
ZXJlclJlbmRlclN0eWxlKCk7CiB9CiAKIH0K
</data>
<flag name="review"
          id="79735"
          type_id="1"
          status="-"
          setter="eric"
    />
          </attachment>
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>87449</attachid>
            <date>2011-03-29 18:54:37 -0700</date>
            <delta_ts>2011-03-29 19:02:50 -0700</delta_ts>
            <desc>Updated patch which compiles correctly in qt-4.7.2 with webkit enabled on Solaris 10 with SS12 C++ compiler, changed to static_cast</desc>
            <filename>webkit-bug-57337-fix_conditional_expression_on_Solaris10_SS12.diff</filename>
            <type>text/plain</type>
            <size>1150</size>
            <attacher name="Ben Taylor">bentaylor.solx86</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDgyMzc5KQorKysgU291cmNlL1dlYkNvcmUvQ2hhbmdl
TG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMTUgQEAKKzIwMTEtMDMtMjkgIEJlbiBUYXls
b3IgIDxiZW50YXlsb3Iuc29seDg2QGdtYWlsLmNvbT4KKworICAgICAgICBSZXZpZXdlZCBieSBO
T0JPRFkgKE9PUFMhKS4KKworICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1
Zy5jZ2k/aWQ9NTczMzcKKworICAgICAgICBmaXggY29tcGlsZSBlcnJvciBvbiBTb2xhcmlzIDEw
L1N1biBTdHVkaW8gMTIgZm9yIG1pc21hdGNoZWQKKyAgICAgICAgb3BlcmFuZHMgaW4gYSBjb25k
aXRpb25hbCBleHByZXNzaW9uICg/OikKKworICAgICAgICAqIGRvbS9Ob2RlUmVuZGVyU3R5bGUu
aDoKKyAgICAgICAgKFdlYkNvcmU6Ok5vZGU6OnJlbmRlclN0eWxlKToKKwogMjAxMS0wMy0yOSAg
VG9ueSBHZW50aWxjb3JlICA8dG9ueWdAY2hyb21pdW0ub3JnPgogCiAgICAgICAgIFJldmlld2Vk
IGJ5IEFkYW0gQmFydGguCkluZGV4OiBTb3VyY2UvV2ViQ29yZS9kb20vTm9kZVJlbmRlclN0eWxl
LmgKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PQotLS0gU291cmNlL1dlYkNvcmUvZG9tL05vZGVSZW5kZXJTdHlsZS5oCShy
ZXZpc2lvbiA4MjI0OCkKKysrIFNvdXJjZS9XZWJDb3JlL2RvbS9Ob2RlUmVuZGVyU3R5bGUuaAko
d29ya2luZyBjb3B5KQpAQCAtMzMsNyArMzMsNyBAQCBuYW1lc3BhY2UgV2ViQ29yZSB7CiAKIGlu
bGluZSBSZW5kZXJTdHlsZSogTm9kZTo6cmVuZGVyU3R5bGUoKSBjb25zdAogewotICAgIHJldHVy
biBtX3JlbmRlcmVyID8gbV9yZW5kZXJlci0+c3R5bGUoKSA6IG5vblJlbmRlcmVyUmVuZGVyU3R5
bGUoKTsKKyAgICByZXR1cm4gbV9yZW5kZXJlciA/ICBzdGF0aWNfY2FzdDxXZWJDb3JlOjpSZW5k
ZXJTdHlsZSo+KG1fcmVuZGVyZXItPnN0eWxlKCkpIDogbm9uUmVuZGVyZXJSZW5kZXJTdHlsZSgp
OwogfQogCiB9Cg==
</data>

          </attachment>
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>87450</attachid>
            <date>2011-03-29 19:02:50 -0700</date>
            <delta_ts>2011-04-03 06:49:00 -0700</delta_ts>
            <desc>Updated patch which compiles correctly in qt-4.7.2 with webkit enabled on Solaris 10 with SS12 C++ compiler, changed to static_cast and fix style issue (extra space)</desc>
            <filename>webkit-bug-57337-fix_conditional_expression_on_Solaris10_SS12.diff</filename>
            <type>text/plain</type>
            <size>1149</size>
            <attacher name="Ben Taylor">bentaylor.solx86</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDgyMzc5KQorKysgU291cmNlL1dlYkNvcmUvQ2hhbmdl
TG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMTUgQEAKKzIwMTEtMDMtMjkgIEJlbiBUYXls
b3IgIDxiZW50YXlsb3Iuc29seDg2QGdtYWlsLmNvbT4KKworICAgICAgICBSZXZpZXdlZCBieSBO
T0JPRFkgKE9PUFMhKS4KKworICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1
Zy5jZ2k/aWQ9NTczMzcKKworICAgICAgICBmaXggY29tcGlsZSBlcnJvciBvbiBTb2xhcmlzIDEw
L1N1biBTdHVkaW8gMTIgZm9yIG1pc21hdGNoZWQKKyAgICAgICAgb3BlcmFuZHMgaW4gYSBjb25k
aXRpb25hbCBleHByZXNzaW9uICg/OikKKworICAgICAgICAqIGRvbS9Ob2RlUmVuZGVyU3R5bGUu
aDoKKyAgICAgICAgKFdlYkNvcmU6Ok5vZGU6OnJlbmRlclN0eWxlKToKKwogMjAxMS0wMy0yOSAg
VG9ueSBHZW50aWxjb3JlICA8dG9ueWdAY2hyb21pdW0ub3JnPgogCiAgICAgICAgIFJldmlld2Vk
IGJ5IEFkYW0gQmFydGguCkluZGV4OiBTb3VyY2UvV2ViQ29yZS9kb20vTm9kZVJlbmRlclN0eWxl
LmgKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PQotLS0gU291cmNlL1dlYkNvcmUvZG9tL05vZGVSZW5kZXJTdHlsZS5oCShy
ZXZpc2lvbiA4MjI0OCkKKysrIFNvdXJjZS9XZWJDb3JlL2RvbS9Ob2RlUmVuZGVyU3R5bGUuaAko
d29ya2luZyBjb3B5KQpAQCAtMzMsNyArMzMsNyBAQCBuYW1lc3BhY2UgV2ViQ29yZSB7CiAKIGlu
bGluZSBSZW5kZXJTdHlsZSogTm9kZTo6cmVuZGVyU3R5bGUoKSBjb25zdAogewotICAgIHJldHVy
biBtX3JlbmRlcmVyID8gbV9yZW5kZXJlci0+c3R5bGUoKSA6IG5vblJlbmRlcmVyUmVuZGVyU3R5
bGUoKTsKKyAgICByZXR1cm4gbV9yZW5kZXJlciA/IHN0YXRpY19jYXN0PFdlYkNvcmU6OlJlbmRl
clN0eWxlKj4obV9yZW5kZXJlci0+c3R5bGUoKSkgOiBub25SZW5kZXJlclJlbmRlclN0eWxlKCk7
CiB9CiAKIH0K
</data>

          </attachment>
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>88008</attachid>
            <date>2011-04-03 06:49:00 -0700</date>
            <delta_ts>2011-04-11 12:24:52 -0700</delta_ts>
            <desc>Fixed patch that correct the compile, without trying to static_cast a variable that is already the right type (obviously compiler issue)</desc>
            <filename>webkit-bug-57377-NodeRenderStyle.h.diff</filename>
            <type>text/plain</type>
            <size>1136</size>
            <attacher name="Ben Taylor">bentaylor.solx86</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
Q29yZS9Da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CkgY29uc3QKIHsKLSAgICByZXR1cm4g
bV9yZW5kZXJlciA/IG1fcmVuZGVyZXItPnN0eWxlKCkgOiBub25SZW5kZXJlclJlbmRlclN0eWxl
KCk7CisgICAgaWYgKG1fcmVuZGVyZXIpCisgICAgICAgIHJldHVybiBtX3JlbmRlcmVyLT5zdHls
ZSgpOworICAgIHJldHVybiBub25SZW5kZXJlclJlbmRlclN0eWxlKCk7CisKIH0KIAogfQo=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>89050</attachid>
            <date>2011-04-11 12:24:52 -0700</date>
            <delta_ts>2011-04-13 07:59:12 -0700</delta_ts>
            <desc>Updated patch which explains that we are working around Solaris Studio 12/12.1/12.2 compiler bug with ternary operations.</desc>
            <filename>webkit-bug-57337-workaround-ternary-operation-bug-in-studio-compilers.diff</filename>
            <type>text/plain</type>
            <size>1312</size>
            <attacher name="Ben Taylor">bentaylor.solx86</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDgzNDc0KQorKysgU291cmNlL1dlYkNvcmUvQ2hhbmdl
TG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMTUgQEAKKzIwMTEtMDQtMTEgIEJlbiBUYXls
b3IgIDxiZW50YXlsb3Iuc29seDg2QGdtYWlsLmNvbT4KKworICAgICAgICBSZXZpZXdlZCBieSBO
T0JPRFkgKE9PUFMhKS4KKworICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1
Zy5jZ2k/aWQ9NTczMzcKKworICAgICAgICBXb3JrIGFyb3VuZCBhIGJ1ZyBpbiB0ZXJuYXJ5IG9w
ZXJ0aW9ucyB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VyZXIpIAorICAgICAgICByZXR1cm4gbV9yZW5kZXJl
ci0+c3R5bGUoKTsKKyAgICByZXR1cm4gbm9uUmVuZGVyZXJSZW5kZXJTdHlsZSgpOwogfQogCiB9
Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>