Changeset 60787 in webkit
- Timestamp:
- Jun 7, 2010 10:34:10 AM (14 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r60773 r60787 1 2010-06-07 Kwang Yul Seo <skyul@company100.net> 2 3 Reviewed by Eric Seidel. 4 5 [BREWMP] Add more types to OwnPtr 6 https://bugs.webkit.org/show_bug.cgi?id=39667 7 8 Add ISSL and ISocket to the list of OwnPtr-ed type. 9 10 * wtf/OwnPtrCommon.h: 11 * wtf/brew/OwnPtrBrew.cpp: 12 (WTF::deleteOwnedPtr): 13 1 14 2010-06-07 Benjamin Poulain <benjamin.poulain@nokia.com> 2 15 -
trunk/JavaScriptCore/wtf/OwnPtrCommon.h
r55621 r60787 42 42 // Forward delcarations at this point avoid the need to include BREW includes 43 43 // in WTF headers. 44 typedef struct _ISocket ISocket; 44 45 typedef struct _IFileMgr IFileMgr; 45 46 typedef struct _IFile IFile; 46 47 typedef struct IBitmap IBitmap; 48 typedef struct ISSL ISSL; 47 49 #endif 48 50 … … 70 72 void deleteOwnedPtr(IFile*); 71 73 void deleteOwnedPtr(IBitmap*); 74 void deleteOwnedPtr(ISSL*); 75 void deleteOwnedPtr(ISocket*); 72 76 #endif 73 77 -
trunk/JavaScriptCore/wtf/brew/OwnPtrBrew.cpp
r58164 r60787 29 29 #include <AEEBitmap.h> 30 30 #include <AEEFile.h> 31 #include <AEENet.h> 32 #include <AEESSL.h> 31 33 #include <AEEStdLib.h> 32 34 … … 51 53 } 52 54 55 void deleteOwnedPtr(ISSL* ptr) 56 { 57 if (ptr) 58 ISSL_Release(ptr); 53 59 } 60 61 void deleteOwnedPtr(ISocket* ptr) 62 { 63 if (ptr) 64 ISOCKET_Release(ptr); 65 } 66 67 }
Note: See TracChangeset
for help on using the changeset viewer.