[GTK][AC] use a smart pointer for GList and ClutterCanvas
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 11 Apr 2013 14:42:14 +0000 (14:42 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 11 Apr 2013 14:42:14 +0000 (14:42 +0000)
commit15473f79ceb37e1e630903bcd0fb1719cfd10622
tree0c75a4d65f43007de70411d4a92e8836421078d9
parentd549dae39511f20823b6b0857e45042c5adea4f0
[GTK][AC] use a smart pointer for GList and ClutterCanvas
https://bugs.webkit.org/show_bug.cgi?id=114057

Patch by ChangSeok Oh <changseok.oh@collabora.com> on 2013-04-11
Reviewed by Gustavo Noronha Silva.

We can make simple code & prevent possible memory leak by using a proper smart pointer.
Especially if we get children by clutter_actor_get_children, we should free it after using.

No functionality changed.

* platform/graphics/clutter/GraphicsLayerActor.cpp:
(graphicsLayerActorUpdateTexture):
(graphicsLayerActorRemoveAll):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@148202 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/clutter/GraphicsLayerActor.cpp