Title: [147644] trunk/Source/WebCore
- Revision
- 147644
- Author
- [email protected]
- Date
- 2013-04-04 11:00:52 -0700 (Thu, 04 Apr 2013)
Log Message
[GTK][AC] Invalid clear ClutterContent of ClutterActor
https://bugs.webkit.org/show_bug.cgi?id=113758
Patch by ChangSeok Oh <[email protected]> on 2013-04-04
Reviewed by Gustavo Noronha Silva.
Using clutter_actor_set_content(actor, 0) is better to clear ClutterContent of ClutterActor.
Actually the ClutterContent referece is cleared in the API if we set 0.
No new tests since no functionality changed.
* platform/graphics/clutter/GraphicsLayerActor.cpp:
(graphicsLayerActorUpdateTexture):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (147643 => 147644)
--- trunk/Source/WebCore/ChangeLog 2013-04-04 17:59:37 UTC (rev 147643)
+++ trunk/Source/WebCore/ChangeLog 2013-04-04 18:00:52 UTC (rev 147644)
@@ -1,3 +1,18 @@
+2013-04-04 ChangSeok Oh <[email protected]>
+
+ [GTK][AC] Invalid clear ClutterContent of ClutterActor
+ https://bugs.webkit.org/show_bug.cgi?id=113758
+
+ Reviewed by Gustavo Noronha Silva.
+
+ Using clutter_actor_set_content(actor, 0) is better to clear ClutterContent of ClutterActor.
+ Actually the ClutterContent referece is cleared in the API if we set 0.
+
+ No new tests since no functionality changed.
+
+ * platform/graphics/clutter/GraphicsLayerActor.cpp:
+ (graphicsLayerActorUpdateTexture):
+
2013-04-04 Christophe Dumez <[email protected]>
[Cairo] Fix canvas drawing of SVG-based patterns and remove NativeImageCairo
Modified: trunk/Source/WebCore/platform/graphics/clutter/GraphicsLayerActor.cpp (147643 => 147644)
--- trunk/Source/WebCore/platform/graphics/clutter/GraphicsLayerActor.cpp 2013-04-04 17:59:37 UTC (rev 147643)
+++ trunk/Source/WebCore/platform/graphics/clutter/GraphicsLayerActor.cpp 2013-04-04 18:00:52 UTC (rev 147644)
@@ -271,7 +271,7 @@
// Nothing needs a texture, remove the one we have, if any.
if (!priv->drawsContent && !priv->surface) {
g_signal_handlers_disconnect_by_func(canvas, reinterpret_cast<void*>(graphicsLayerActorDraw), layer);
- g_object_unref(canvas);
+ clutter_actor_set_content(actor, 0);
}
return;
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes