<?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>102475</bug_id>
          
          <creation_ts>2012-11-16 03:38:51 -0800</creation_ts>
          <short_desc>[Qt][Mac] Fix the build after r124873</short_desc>
          <delta_ts>2012-11-16 06:59:17 -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>New Bugs</component>
          <version>420+</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P1</priority>
          <bug_severity>Blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>101023</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Csaba Osztrogonác">ossy</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>dongseong.hwang</cc>
    
    <cc>galpeter</cc>
    
    <cc>hausmann</cc>
    
    <cc>noam</cc>
    
    <cc>ossy</cc>
    
    <cc>rafael.lobo</cc>
    
    <cc>webkit.review.bot</cc>
    
    <cc>zeno</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>769081</commentid>
    <comment_count>0</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-11-16 03:38:51 -0800</bug_when>
    <thetext>In file included from /Users/indt/Development/build-slaves/indt-mountainlion/qt-mountainlion-release/build/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.cpp:30:
In file included from /Users/indt/Development/build-slaves/indt-mountainlion/qt-mountainlion-release/build/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.h:25:
In file included from /Users/indt/Development/build-slaves/indt-mountainlion/qt-mountainlion-release/build/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.h:24:
In file included from /Users/indt/Development/build-slaves/indt-mountainlion/qt-mountainlion-release/build/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedImageBacking.h:33:
In file included from /Users/indt/Development/build-slaves/indt-mountainlion/qt-mountainlion-release/build/Source/WebKit2/Shared/WebLayerTreeInfo.h:25:
In file included from /Users/indt/Development/build-slaves/indt-mountainlion/qt-mountainlion-release/build/Source/WebKit2/Platform/CoreIPC/ArgumentDecoder.h:29:
/Users/indt/Development/build-slaves/indt-mountainlion/qt-mountainlion-release/build/Source/WebKit2/Platform/CoreIPC/ArgumentCoder.h:39:11: error: member reference base type &apos;const unsigned long&apos; is not a structure or union
        t.encode(encoder);
        ~ ^
/Users/indt/Development/build-slaves/indt-mountainlion/qt-mountainlion-release/build/Source/WebKit2/Platform/CoreIPC/ArgumentEncoder.h:92:27: note: in instantiation of member function &apos;CoreIPC::ArgumentCoder&lt;unsigned long&gt;::encode&apos; requested here
        ArgumentCoder&lt;T&gt;::encode(*this, t);
                          ^
/Users/indt/Development/build-slaves/indt-mountainlion/qt-mountainlion-release/build/Source/WebKit2/Platform/CoreIPC/Arguments.h:62:17: note: in instantiation of function template specialization &apos;CoreIPC::ArgumentEncoder::encode&lt;unsigned long&gt;&apos; requested here
        encoder.encode(argument1);
                ^
/Users/indt/Development/build-slaves/indt-mountainlion/qt-mountainlion-release/build/Source/WebKit2/Platform/CoreIPC/ArgumentCoder.h:39:11: note: in instantiation of member function &apos;CoreIPC::Arguments1&lt;const unsigned long &amp;&gt;::encode&apos; requested here
        t.encode(encoder);
          ^
/Users/indt/Development/build-slaves/indt-mountainlion/qt-mountainlion-release/build/Source/WebKit2/Platform/CoreIPC/ArgumentEncoder.h:92:27: note: in instantiation of member function &apos;CoreIPC::ArgumentCoder&lt;Messages::LayerTreeCoordinatorProxy::CreateImageBacking&gt;::encode&apos; requested here
        ArgumentCoder&lt;T&gt;::encode(*this, t);
                          ^
/Users/indt/Development/build-slaves/indt-mountainlion/qt-mountainlion-release/build/Source/WebKit2/Platform/CoreIPC/MessageSender.h:45:18: note: in instantiation of function template specialization &apos;CoreIPC::ArgumentEncoder::encode&lt;Messages::LayerTreeCoordinatorProxy::CreateImageBacking&gt;&apos; requested here
        encoder-&gt;encode(message);
                 ^
/Users/indt/Development/build-slaves/indt-mountainlion/qt-mountainlion-release/build/Source/WebKit2/Platform/CoreIPC/MessageSender.h:38:16: note: in instantiation of function template specialization &apos;CoreIPC::MessageSender&lt;WebKit::WebPage&gt;::send&lt;Messages::LayerTreeCoordinatorProxy::CreateImageBacking&gt;&apos; requested here
        return send(message, static_cast&lt;T*&gt;(this)-&gt;destinationID());
               ^
/Users/indt/Development/build-slaves/indt-mountainlion/qt-mountainlion-release/build/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.cpp:486:16: note: in instantiation of function template specialization &apos;CoreIPC::MessageSender&lt;WebKit::WebPage&gt;::send&lt;Messages::LayerTreeCoordinatorProxy::CreateImageBacking&gt;&apos; requested here
    m_webPage-&gt;send(Messages::LayerTreeCoordinatorProxy::CreateImageBacking(imageID));
               ^
1 error generated.
make[3]: *** [obj/release/WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.o] Error 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>769134</commentid>
    <comment_count>1</comment_count>
    <who name="Peter Gal">galpeter</who>
    <bug_when>2012-11-16 05:03:45 -0800</bug_when>
    <thetext>So... I think this is the problem (if I&apos;m correct:

CreateImageBacking(uintptr_t imageID)

on linux (64bit) the uintptr_t is typedef for unsigned int, also the uint32_t is unsigned int.
But, on the mac the unitptr_t is unsigned long long, the uint32_t is just unsigned int.

So on linux uintptr_t is just as uint32_t. But on mac it isn&apos;t. In the ArgumentEncoder class there are methods for encoding like:

void ArgumentEncoder::encode(uint32_t n)

this results that on linux there is a way to encode the uintptr_t, on on mac there is no such method.

(This holds only true if I understand the Argument* classes correctly.)

So... could what should we do about this? use uint[32/64]_t or create an encode/decode function for the uintptr_t on mac?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>769169</commentid>
    <comment_count>2</comment_count>
      <attachid>174658</attachid>
    <who name="Peter Gal">galpeter</who>
    <bug_when>2012-11-16 05:52:36 -0800</bug_when>
    <thetext>Created attachment 174658
speculative thingy...

Just in case, if we decide to go with the uint64_t way. :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>769229</commentid>
    <comment_count>3</comment_count>
      <attachid>174658</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-11-16 06:59:13 -0800</bug_when>
    <thetext>Comment on attachment 174658
speculative thingy...

Clearing flags on attachment: 174658

Committed r134946: &lt;http://trac.webkit.org/changeset/134946&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>769230</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-11-16 06:59:17 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>174658</attachid>
            <date>2012-11-16 05:52:36 -0800</date>
            <delta_ts>2012-11-16 06:59:13 -0800</delta_ts>
            <desc>speculative thingy...</desc>
            <filename>mac_qt_coordgraph_ptr.patch</filename>
            <type>text/plain</type>
            <size>2416</size>
            <attacher name="Peter Gal">galpeter</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJLaXQyL0NoYW5nZUxvZyBiL1NvdXJjZS9XZWJLaXQyL0No
YW5nZUxvZwppbmRleCBjMTJlOTJlLi5kZWUzNTAwIDEwMDY0NAotLS0gYS9Tb3VyY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