<?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>103629</bug_id>
          
          <creation_ts>2012-11-29 04:30:17 -0800</creation_ts>
          <short_desc>Fix the build after r136095</short_desc>
          <delta_ts>2012-11-29 10:23:23 -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>WebKit Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</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="Andrei Bucur">abucur</reporter>
          <assigned_to name="Andrei Bucur">abucur</assigned_to>
          <cc>ap</cc>
    
    <cc>mrowe</cc>
    
    <cc>sam</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>778911</commentid>
    <comment_count>0</comment_count>
    <who name="Andrei Bucur">abucur</who>
    <bug_when>2012-11-29 04:30:17 -0800</bug_when>
    <thetext>WebKit doesn&apos;t compile due to a type error.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>778913</commentid>
    <comment_count>1</comment_count>
      <attachid>176701</attachid>
    <who name="Andrei Bucur">abucur</who>
    <bug_when>2012-11-29 04:39:38 -0800</bug_when>
    <thetext>Created attachment 176701
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>778927</commentid>
    <comment_count>2</comment_count>
      <attachid>176701</attachid>
    <who name="">jochen</who>
    <bug_when>2012-11-29 05:00:04 -0800</bug_when>
    <thetext>Comment on attachment 176701
Patch

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

&gt; Source/WebKit2/Shared/mac/ObjCObjectGraphCoders.mm:97
&gt; +            [NSException raise:NSInvalidArgumentException format:@&quot;Can not encode objects of class type &apos;%@&apos;&quot;, static_cast&lt;NSString *&gt;(NSStringFromClass([m_root class]))];

that&apos;s most certainly the wrong fix. I think instead, this file should #import &lt;Foundation/Foundation.h&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>778943</commentid>
    <comment_count>3</comment_count>
    <who name="Andrei Bucur">abucur</who>
    <bug_when>2012-11-29 05:30:27 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; (From update of attachment 176701 [details])
&gt; View in context: https://bugs.webkit.org/attachment.cgi?id=176701&amp;action=review
&gt; 
&gt; &gt; Source/WebKit2/Shared/mac/ObjCObjectGraphCoders.mm:97
&gt; &gt; +            [NSException raise:NSInvalidArgumentException format:@&quot;Can not encode objects of class type &apos;%@&apos;&quot;, static_cast&lt;NSString *&gt;(NSStringFromClass([m_root class]))];
&gt; 
&gt; that&apos;s most certainly the wrong fix. I think instead, this file should #import &lt;Foundation/Foundation.h&gt;

Tried it and this is not the issue. You can put the NSStringFromClass return value in a NSString variable and then pass that to the formatter and it will work. I like this fix more though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>779124</commentid>
    <comment_count>4</comment_count>
      <attachid>176701</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2012-11-29 10:04:56 -0800</bug_when>
    <thetext>Comment on attachment 176701
Patch

Failing on Lion and Mountain Lion bots. I can&apos;t reproduce locally, and have no idea why this fails, but we have to get it building again.

/Volumes/Data/slave/mountainlion-debug/build/Source/WebKit2/Shared/mac/ObjCObjectGraphCoders.mm:97:107: error: format specifies type &apos;id&apos; but the argument has type &apos;&lt;dependent type&gt;&apos; [-Werror,-Wformat]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>779142</commentid>
    <comment_count>5</comment_count>
      <attachid>176701</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-11-29 10:23:20 -0800</bug_when>
    <thetext>Comment on attachment 176701
Patch

Clearing flags on attachment: 176701

Committed r136141: &lt;http://trac.webkit.org/changeset/136141&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>779143</commentid>
    <comment_count>6</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-11-29 10:23:23 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>176701</attachid>
            <date>2012-11-29 04:39:38 -0800</date>
            <delta_ts>2012-11-29 10:23:20 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-103629-20121129143711.patch</filename>
            <type>text/plain</type>
            <size>1508</size>
            <attacher name="Andrei Bucur">abucur</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTM2MTE2CmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViS2l0Mi9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViS2l0Mi9DaGFuZ2VMb2cKaW5kZXggNjI3ZDBiZTllYThhYzNh
NzIwOWMxZTI2ZDk4MzY1NTYyOWNhMDkyOC4uZDUyOTVlZDNiOWJiMDVhZDI1NGEyZmIwYmMyNGYw
ZjcxN2IwMzkwYSAxMDA2NDQKLS0tIGEvU291cmNlL1dlYktpdDIvQ2hhbmdlTG9nCisrKyBiL1Nv
dXJjZS9XZWJLaXQyL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE1IEBACisyMDEyLTExLTI5ICBBbmRy
ZWkgQnVjdXIgIDxhYnVjdXJAYWRvYmUuY29tPgorCisgICAgICAgIEZpeCB0aGUgYnVpbGQg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