Title: [149039] trunk/Source/WebCore
Revision
149039
Author
[email protected]
Date
2013-04-24 08:36:26 -0700 (Wed, 24 Apr 2013)

Log Message

[GTK][AC] Visible rect doesn't update after resizing a window.
https://bugs.webkit.org/show_bug.cgi?id=115096

Patch by ChangSeok Oh <[email protected]> on 2013-04-24
Reviewed by Gustavo Noronha Silva.

Once we set actor's a clip rect, we should update the rect when resizing the actor.

No new tests since no new functionality.

* platform/graphics/clutter/GraphicsLayerClutter.cpp:
(WebCore::GraphicsLayerClutter::setSize):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (149038 => 149039)


--- trunk/Source/WebCore/ChangeLog	2013-04-24 15:34:35 UTC (rev 149038)
+++ trunk/Source/WebCore/ChangeLog	2013-04-24 15:36:26 UTC (rev 149039)
@@ -1,5 +1,19 @@
 2013-04-24  ChangSeok Oh  <[email protected]>
 
+        [GTK][AC] Visible rect doesn't update after resizing a window.
+        https://bugs.webkit.org/show_bug.cgi?id=115096
+
+        Reviewed by Gustavo Noronha Silva.
+
+        Once we set actor's a clip rect, we should update the rect when resizing the actor.
+
+        No new tests since no new functionality.
+
+        * platform/graphics/clutter/GraphicsLayerClutter.cpp:
+        (WebCore::GraphicsLayerClutter::setSize):
+
+2013-04-24  ChangSeok Oh  <[email protected]>
+
         [GTK][AC] Fix unexpected clear of ClutterContent.
         https://bugs.webkit.org/show_bug.cgi?id=115099
 

Modified: trunk/Source/WebCore/platform/graphics/clutter/GraphicsLayerClutter.cpp (149038 => 149039)


--- trunk/Source/WebCore/platform/graphics/clutter/GraphicsLayerClutter.cpp	2013-04-24 15:34:35 UTC (rev 149038)
+++ trunk/Source/WebCore/platform/graphics/clutter/GraphicsLayerClutter.cpp	2013-04-24 15:36:26 UTC (rev 149039)
@@ -389,7 +389,7 @@
         return;
 
     GraphicsLayer::setSize(size);
-    noteLayerPropertyChanged(GeometryChanged);
+    noteLayerPropertyChanged(masksToBounds() ? GeometryChanged | MasksToBoundsChanged : GeometryChanged);
 }
 void GraphicsLayerClutter::setTransform(const TransformationMatrix& t)
 {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to