[SCM] WebKit Debian packaging branch, debian/experimental, updated. debian/1.3.8-1-1049-g2e11a8e

commit-queue at webkit.org commit-queue at webkit.org
Fri Jan 21 14:43:10 UTC 2011


The following commit has been merged in the debian/experimental branch:
commit 1120bda99be0b377085c439a28fbf86decd570bf
Author: commit-queue at webkit.org <commit-queue at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Mon Dec 27 17:10:42 2010 +0000

    2010-12-27  Rafael Antognolli  <antognolli at profusion.mobi>
    
            Reviewed by Kenneth Rohde Christiansen.
    
            [EFL] Set the frame smart object base clipper to non-static.
            https://bugs.webkit.org/show_bug.cgi?id=51552
    
            The base clipper of the clipped smart object, which is the parent
            class of the ewk_frame class is a static clipper. It's normally only
            used for showing/hiding the object, but in the case of the ewk_frame,
            it needs to clip the object to its dimension, in order to clip
            scrollbars of inner frames.
    
            Setting it to non-static makes the clipper to be automatically moved
            by the parent class, thus staying on the correct position when the
            frame is moved.
    
            This change needed to be done after the adoption of the static clipper
            on the clipped smart base class.
    
            * ewk/ewk_frame.cpp:
            (_ewk_frame_smart_add):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74684 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/efl/ChangeLog b/WebKit/efl/ChangeLog
index 3f6d6e8..c9d6bfe 100644
--- a/WebKit/efl/ChangeLog
+++ b/WebKit/efl/ChangeLog
@@ -1,3 +1,26 @@
+2010-12-27  Rafael Antognolli  <antognolli at profusion.mobi>
+
+        Reviewed by Kenneth Rohde Christiansen.
+
+        [EFL] Set the frame smart object base clipper to non-static.
+        https://bugs.webkit.org/show_bug.cgi?id=51552
+
+        The base clipper of the clipped smart object, which is the parent
+        class of the ewk_frame class is a static clipper. It's normally only
+        used for showing/hiding the object, but in the case of the ewk_frame,
+        it needs to clip the object to its dimension, in order to clip
+        scrollbars of inner frames.
+
+        Setting it to non-static makes the clipper to be automatically moved
+        by the parent class, thus staying on the correct position when the
+        frame is moved.
+
+        This change needed to be done after the adoption of the static clipper
+        on the clipped smart base class.
+
+        * ewk/ewk_frame.cpp:
+        (_ewk_frame_smart_add):
+
 2010-12-24  Ryuan Choi  <ryuan.choi at samsung.com>
 
         Reviewed by Kenneth Rohde Christiansen.
diff --git a/WebKit/efl/ewk/ewk_frame.cpp b/WebKit/efl/ewk/ewk_frame.cpp
index c6d9068..e8b914b 100644
--- a/WebKit/efl/ewk/ewk_frame.cpp
+++ b/WebKit/efl/ewk/ewk_frame.cpp
@@ -192,6 +192,7 @@ static void _ewk_frame_smart_add(Evas_Object* o)
     sd->self = o;
 
     _parent_sc.add(o);
+    evas_object_static_clip_set(sd->base.clipper, EINA_FALSE);
     evas_object_move(sd->base.clipper, 0, 0);
     evas_object_resize(sd->base.clipper, 0, 0);
 

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list