<?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>59666</bug_id>
          
          <creation_ts>2011-04-27 18:24:16 -0700</creation_ts>
          <short_desc>Enable strict OwnPtrs for Chromium</short_desc>
          <delta_ts>2011-04-28 00:10:08 -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>
          <dependson>59664</dependson>
          <blocked>59428</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Adam Barth">abarth</reporter>
          <assigned_to name="Adam Barth">abarth</assigned_to>
          <cc>dglazkov</cc>
    
    <cc>jamesr</cc>
    
    <cc>levin</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>394052</commentid>
    <comment_count>0</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-04-27 18:24:16 -0700</bug_when>
    <thetext>Enable strict OwnPtrs for Chromium</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>394053</commentid>
    <comment_count>1</comment_count>
      <attachid>91397</attachid>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-04-27 18:24:31 -0700</bug_when>
    <thetext>Created attachment 91397
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>394055</commentid>
    <comment_count>2</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-04-27 18:25:03 -0700</bug_when>
    <thetext>Should build cleanly on Mac, but jamesr says it doesn&apos;t build cleanly on Linux.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>394057</commentid>
    <comment_count>3</comment_count>
      <attachid>91397</attachid>
    <who name="David Levin">levin</who>
    <bug_when>2011-04-27 18:26:19 -0700</bug_when>
    <thetext>Comment on attachment 91397
Patch

Pending clean build of course.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>394059</commentid>
    <comment_count>4</comment_count>
    <who name="James Robinson">jamesr</who>
    <bug_when>2011-04-27 18:27:06 -0700</bug_when>
    <thetext>https://bugs.webkit.org/show_bug.cgi?id=59664 is needed for chromium linux.  I haven&apos;t tried chromium win, but I&apos;m sure there are issues there as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>394089</commentid>
    <comment_count>5</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2011-04-27 18:48:05 -0700</bug_when>
    <thetext>Attachment 91397 did not build on chromium:
Build output: http://queues.webkit.org/results/8518180</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>394096</commentid>
    <comment_count>6</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-04-27 18:55:22 -0700</bug_when>
    <thetext>I don&apos;t have a chromium-win build.  I&apos;ll probably land this late at night and fire-fight the bot, unless someone would like to volunteer to weed out these issues on windows.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>394121</commentid>
    <comment_count>7</comment_count>
    <who name="David Levin">levin</who>
    <bug_when>2011-04-27 19:28:13 -0700</bug_when>
    <thetext>
Figuring out how to do a try job with both depots was harder than I thought it would be but here you go:

http://build.chromium.org/p/tryserver.chromium/builders/win/builds/28759
http://build.chromium.org/p/tryserver.chromium/builders/linux/builds/23951
http://build.chromium.org/p/tryserver.chromium/builders/mac/builds/24454</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>394124</commentid>
    <comment_count>8</comment_count>
    <who name="James Robinson">jamesr</who>
    <bug_when>2011-04-27 19:39:26 -0700</bug_when>
    <thetext>Tryjobs all failed to apply the patch.  Try specifying -r to  git/gcl try.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>394129</commentid>
    <comment_count>9</comment_count>
    <who name="David Levin">levin</who>
    <bug_when>2011-04-27 19:47:23 -0700</bug_when>
    <thetext>(In reply to comment #8)
&gt; Tryjobs all failed to apply the patch.  Try specifying -r to  git/gcl try.

I&apos;m not sure if that would help because I think that specifies chromium&apos;s revision and the problem is webkit&apos;s revision (maybe if I ran it from the subdir and then I wouldn&apos;t have to update DEPS?)

Anyway, I modified the patch so that it won&apos;t conflict with the other patch that is on the webkit side (http://build.chromium.org/p/tryserver.chromium/builders/linux/builds/23959/steps/update/logs/patch) and I think this will work now:
http://build.chromium.org/p/tryserver.chromium/builders/win/builds/28765
http://build.chromium.org/p/tryserver.chromium/builders/linux/builds/23959
http://build.chromium.org/p/tryserver.chromium/builders/mac/builds/24460</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>394235</commentid>
    <comment_count>10</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-04-27 23:04:28 -0700</bug_when>
    <thetext>Those try results don&apos;t really make sense.  It&apos;s reporting errors in functions that have #define LOOSE_OWN_PTR at the top.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>394243</commentid>
    <comment_count>11</comment_count>
    <who name="David Levin">levin</who>
    <bug_when>2011-04-27 23:15:41 -0700</bug_when>
    <thetext>(In reply to comment #10)
&gt; Those try results don&apos;t really make sense.  It&apos;s reporting errors in functions that have #define LOOSE_OWN_PTR at the top.

oh that has to do with how I finally got the patch to apply: http://build.chromium.org/p/tryserver.chromium/builders/linux/builds/23959/steps/update/logs/patch

The reason I had to do this was a bit involved. (I was patching before your first change to OwnPtr.h but rolling to after it -- I didn&apos;t think of this issue or I could have handled it differently.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>394255</commentid>
    <comment_count>12</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-04-27 23:21:20 -0700</bug_when>
    <thetext>In any case, the windows results are helpful.  :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>394260</commentid>
    <comment_count>13</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-04-27 23:31:34 -0700</bug_when>
    <thetext>Ok.  I&apos;ve fixed the error that the Windows try bot uncovered.  The Mac trybot also uncovered an error that I don&apos;t see in my upstream Chromium build.  Perhaps the feature is only enabled downstream?  In any case, I fixed it as well.

I&apos;m going to try landing this patch with my fingers crossed.  I expect disaster.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>394262</commentid>
    <comment_count>14</comment_count>
      <attachid>91397</attachid>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-04-27 23:35:48 -0700</bug_when>
    <thetext>Comment on attachment 91397
Patch

Clearing flags on attachment: 91397

Committed r85167: &lt;http://trac.webkit.org/changeset/85167&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>394263</commentid>
    <comment_count>15</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-04-27 23:35:52 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>394275</commentid>
    <comment_count>16</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-04-28 00:10:08 -0700</bug_when>
    <thetext>Looks like it built cleanly on chromium-win.  Thanks Mr. Levin!</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>91397</attachid>
            <date>2011-04-27 18:24:31 -0700</date>
            <delta_ts>2011-04-27 23:35:48 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-59666-20110427182430.patch</filename>
            <type>text/plain</type>
            <size>971</size>
            <attacher name="Adam Barth">abarth</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9KYXZhU2NyaXB0Q29yZS9DaGFuZ2VMb2cKPT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gU291
cmNlL0phdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwkocmV2aXNpb24gODUxMzMpCisrKyBTb3VyY2Uv
SmF2YVNjcmlwdENvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMTIgQEAK
KzIwMTEtMDQtMjcgIEFkYW0gQmFydGggIDxhYmFydGhAd2Via2l0Lm9yZz4KKworICAgICAgICBS
ZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICBFbmFibGUgc3RyaWN0IE93blB0
cnMgZm9yIENocm9taXVtCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVn
LmNnaT9pZD01OTY2NgorCisgICAgICAgICogd3RmL093blB0ci5oOgorCiAyMDExLTA0LTI3ICBP
bGl2ZXIgSHVudCAgPG9saXZlckBhcHBsZS5jb20+CiAKICAgICAgICAgUmV2aWV3ZWQgYnkgR2Vv
ZmZyZXkgR2FyZW4uCkluZGV4OiBTb3VyY2UvSmF2YVNjcmlwdENvcmUvd3RmL093blB0ci5oCj09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT0KLS0tIFNvdXJjZS9KYXZhU2NyaXB0Q29yZS93dGYvT3duUHRyLmgJKHJldmlzaW9u
IDg1MTEyKQorKysgU291cmNlL0phdmFTY3JpcHRDb3JlL3d0Zi9Pd25QdHIuaAkod29ya2luZyBj
b3B5KQpAQCAtMjksNyArMjksNyBAQAogI2luY2x1ZGUgPG1lbW9yeT4KIAogLy8gUmVtb3ZlIHRo
aXMgb25jZSB3ZSBtYWtlIGFsbCBXZWJLaXQgY29kZSBjb21wYXRpYmxlIHdpdGggc3RyaWN0ZXIg
cnVsZXMgYWJvdXQgT3duUHRyLgotI2lmICFQTEFURk9STShNQUMpCisjaWYgIVBMQVRGT1JNKE1B
QykgJiYgIVBMQVRGT1JNKENIUk9NSVVNKQogI2RlZmluZSBMT09TRV9PV05fUFRSCiAjZW5kaWYK
IAo=
</data>

          </attachment>
      

    </bug>

</bugzilla>