Changeset 149038 in webkit
- Timestamp:
- Apr 24, 2013 8:34:35 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r149034 r149038 1 2013-04-24 ChangSeok Oh <changseok.oh@collabora.com> 2 3 [GTK][AC] Fix unexpected clear of ClutterContent. 4 https://bugs.webkit.org/show_bug.cgi?id=115099 5 6 Reviewed by Gustavo Noronha Silva. 7 8 adoptGRef doesn't increase a reference count. So if a actor has a valid ClutterContent, 9 it would be cleared unexpectedly by smart pointer when escaping a function. 10 11 No new tests, no functionality changed. 12 13 * platform/graphics/clutter/GraphicsLayerActor.cpp: 14 (graphicsLayerActorUpdateTexture): 15 1 16 2013-04-24 Alberto Garcia <agarcia@igalia.com> 2 17 -
trunk/Source/WebCore/platform/graphics/clutter/GraphicsLayerActor.cpp
r148743 r149038 250 250 251 251 ClutterActor* actor = CLUTTER_ACTOR(layer); 252 GRefPtr<ClutterContent> canvas = adoptGRef(clutter_actor_get_content(actor));252 GRefPtr<ClutterContent> canvas = clutter_actor_get_content(actor); 253 253 if (canvas) { 254 254 // Nothing needs a texture, remove the one we have, if any.
Note: See TracChangeset
for help on using the changeset viewer.