Changeset 104936 in webkit
- Timestamp:
- Jan 13, 2012 7:44:44 AM (12 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r104901 r104936 1 2012-01-13 YoungTaeck Song <youngtaeck.song@samsung.com> 2 3 [EFL] Add OwnPtr specialization for Eina_Module. 4 https://bugs.webkit.org/show_bug.cgi?id=76255 5 6 Reviewed by Andreas Kling. 7 8 Add an overload for deleteOwnedPtr(Eina_Module*) on EFL port. 9 10 * wtf/OwnPtrCommon.h: 11 * wtf/efl/OwnPtrEfl.cpp: 12 (WTF::deleteOwnedPtr): 13 1 14 2012-01-13 Yuqiang Xian <yuqiang.xian@intel.com> 2 15 -
trunk/Source/JavaScriptCore/wtf/OwnPtrCommon.h
r95901 r104936 42 42 typedef struct _Ecore_Evas Ecore_Evas; 43 43 typedef struct _Ecore_Pipe Ecore_Pipe; 44 typedef struct _Eina_Module Eina_Module; 44 45 typedef struct _Evas_Object Evas_Object; 45 46 #endif … … 67 68 void deleteOwnedPtr(Ecore_Evas*); 68 69 void deleteOwnedPtr(Ecore_Pipe*); 70 void deleteOwnedPtr(Eina_Module*); 69 71 void deleteOwnedPtr(Evas_Object*); 70 72 #endif -
trunk/Source/JavaScriptCore/wtf/efl/OwnPtrEfl.cpp
r95901 r104936 30 30 #include <Ecore.h> 31 31 #include <Ecore_Evas.h> 32 #include <Eina.h> 32 33 #include <Evas.h> 33 34 … … 51 52 } 52 53 54 void deleteOwnedPtr(Eina_Module* ptr) 55 { 56 if (ptr) 57 eina_module_free(ptr); // If module wasn't unloaded, eina_module_free() calls eina_module_unload(). 53 58 } 59 60 }
Note: See TracChangeset
for help on using the changeset viewer.