<?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>118230</bug_id>
          
          <creation_ts>2013-06-30 23:54:25 -0700</creation_ts>
          <short_desc>[GTK] Use PassOwnPtr for the returned value of createBackingStore</short_desc>
          <delta_ts>2013-07-01 01:44:49 -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>WebKitGTK</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>0</everconfirmed>
          <reporter name="ChangSeok Oh">kevin.cs.oh</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>gustavo</cc>
    
    <cc>mrobinson</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>904934</commentid>
    <comment_count>0</comment_count>
    <who name="ChangSeok Oh">kevin.cs.oh</who>
    <bug_when>2013-06-30 23:54:25 -0700</bug_when>
    <thetext>I think it would be better that createBackingStore returns  PassOwnPtr instread of OwnPtr to keep compatibility with c++0x.
Otherwise we face following break with the c++0x compile option.

[shivamidow@LenovoStation:Release]$ make -j 3
make  all-am
make[1]: Entering directory `/home/shivamidow/Projects/WebKit/WebKitBuild/Release&apos;
/bin/mkdir -p ./.deps/DerivedSources
  CXX    Source/WebKit/gtk/WebCoreSupport/libwebkitgtk_3_0_la-ChromeClientGtk.lo
  CXX    Source/WebKit/gtk/WebCoreSupport/libwebkitgtk_3_0_la-FrameLoaderClientGtk.lo
  CXX    Source/WebKit/gtk/WebCoreSupport/libwebkitgtk_3_0_la-FrameNetworkingContextGtk.lo
  CXX    Source/WebKit/gtk/WebCoreSupport/libwebkitgtk_3_0_la-GeolocationClientGtk.lo
In file included from ../../Source/WTF/wtf/VectorTraits.h:25:0,
                 from ../../Source/WTF/wtf/Vector.h:31,
                 from ../../Source/WebCore/platform/graphics/FloatRect.h:31,
                 from ../../Source/WebCore/platform/graphics/FloatQuad.h:33,
                 from ../../Source/WebCore/accessibility/AccessibilityObject.h:33,
                 from ../../Source/WebCore/accessibility/AXObjectCache.h:29,
                 from ../../Source/WebCore/page/ChromeClient.h:25,
                 from ../../Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.h:24,
                 from ../../Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp:26:
../../Source/WTF/wtf/OwnPtr.h: In member function &apos;virtual void WebKit::ChromeClient::attachRootGraphicsLayer(WebCore::Frame*, WebCore::GraphicsLayer*)&apos;:
../../Source/WTF/wtf/OwnPtr.h:97:17: error: &apos;WTF::OwnPtr&lt;T&gt;&amp; WTF::OwnPtr&lt;T&gt;::operator=(const WTF::OwnPtr&lt;T&gt;&amp;) [with T = WebCore::WidgetBackingStore; WTF::OwnPtr&lt;T&gt; = WTF::OwnPtr&lt;WebCore::WidgetBackingStore&gt;]&apos; is private
../../Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp:1072:96: error: within this context
In file included from ../../Source/WTF/wtf/VectorTraits.h:25:0,
                 from ../../Source/WTF/wtf/Vector.h:31,
                 from ../../Source/WebCore/platform/graphics/FloatRect.h:31,
                 from ../../Source/WebCore/platform/graphics/FloatQuad.h:33,
                 from ../../Source/WebCore/accessibility/AccessibilityObject.h:33,
                 from ../../Source/WebCore/accessibility/AXObjectCache.h:29,
                 from ../../Source/WebCore/page/ChromeClient.h:25,
                 from ../../Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.h:24,
                 from ../../Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp:26:
../../Source/WTF/wtf/OwnPtr.h:97:17: error: &apos;WTF::OwnPtr&lt;T&gt;&amp; WTF::OwnPtr&lt;T&gt;::operator=(const WTF::OwnPtr&lt;T&gt;&amp;) [with T = WebCore::WidgetBackingStore; WTF::OwnPtr&lt;T&gt; = WTF::OwnPtr&lt;WebCore::WidgetBackingStore&gt;]&apos; is private
../../Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp:1076:115: error: within this context
make[1]: *** [Source/WebKit/gtk/WebCoreSupport/libwebkitgtk_3_0_la-ChromeClientGtk.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/home/shivamidow/Projects/WebKit/WebKitBuild/Release&apos;
make: *** [all] Error 2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>904935</commentid>
    <comment_count>1</comment_count>
      <attachid>205786</attachid>
    <who name="ChangSeok Oh">kevin.cs.oh</who>
    <bug_when>2013-06-30 23:59:35 -0700</bug_when>
    <thetext>Created attachment 205786
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>904945</commentid>
    <comment_count>2</comment_count>
      <attachid>205786</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2013-07-01 01:44:47 -0700</bug_when>
    <thetext>Comment on attachment 205786
Patch

Clearing flags on attachment: 205786

Committed r152216: &lt;http://trac.webkit.org/changeset/152216&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>904946</commentid>
    <comment_count>3</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2013-07-01 01:44:49 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>205786</attachid>
            <date>2013-06-30 23:59:35 -0700</date>
            <delta_ts>2013-07-01 01:44:47 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-118230-20130701155731.patch</filename>
            <type>text/plain</type>
            <size>1600</size>
            <attacher name="ChangSeok Oh">kevin.cs.oh</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTUyMjE1CmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViS2l0L2d0
ay9DaGFuZ2VMb2cgYi9Tb3VyY2UvV2ViS2l0L2d0ay9DaGFuZ2VMb2cKaW5kZXggOWI4Y2VkMDk3
MTY2ZmQ4ZDcwNWViMjdkZmE2ODE4N2VjYjY3Y2M2MS4uNzJmZjBlY2M4ODJhZjUxNDA1MmRjM2I2
OWM2ZjYzMWNlMTdlOThkNCAxMDA2NDQKLS0tIGEvU291cmNlL1dlYktpdC9ndGsvQ2hhbmdlTG9n
CisrKyBiL1NvdXJjZS9XZWJLaXQvZ3RrL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE2IEBACisyMDEz
LTA2LTMwICBDaGFuZ1Nlb2sgT2ggIDxjaGFuZ3Nlb2sub2hAY29sbGFib3JhLmNvbT4KKworICAg
ICAgICBbR1RLXSBVc2UgUGFzc093blB0ciBmb3IgdGhlIHJldHVybmVkIHZhbHVlIG9mIGNyZWF0
ZUJhY2tpbmdTdG9yZQorICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5j
Z2k/aWQ9MTE4MjMwCisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkuCisKKyAg
ICAgICAgSXQgd291bGQgYmUgYmV0dGVyIHRoYXQgY3JlYXRlQmFja2luZ1N0b3JlIHJldHVybnMg
UGFzc093blB0ciBpbnN0cmVhZCBvZiBPd25QdHIKKyAgICAgICAgdG8ga2VlcCBjb21wYXRpYmls
aXR5IHdpdGggYysrMHguCisKKyAgICAgICAgKiBXZWJDb3JlU3VwcG9ydC9DaHJvb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