Changeset 150381 in webkit for trunk/Source/JavaScriptCore/API/JSWeakObjectMapRefPrivate.cpp
- Timestamp:
- May 20, 2013, 2:10:19 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/API/JSWeakObjectMapRefPrivate.cpp
r147962 r150381 55 55 void JSWeakObjectMapSet(JSContextRef ctx, JSWeakObjectMapRef map, void* key, JSObjectRef object) 56 56 { 57 if (!ctx) { 58 ASSERT_NOT_REACHED(); 59 return; 60 } 57 61 ExecState* exec = toJS(ctx); 58 62 APIEntryShim entryShim(exec); … … 66 70 JSObjectRef JSWeakObjectMapGet(JSContextRef ctx, JSWeakObjectMapRef map, void* key) 67 71 { 72 if (!ctx) { 73 ASSERT_NOT_REACHED(); 74 return 0; 75 } 68 76 ExecState* exec = toJS(ctx); 69 77 APIEntryShim entryShim(exec); … … 73 81 void JSWeakObjectMapRemove(JSContextRef ctx, JSWeakObjectMapRef map, void* key) 74 82 { 83 if (!ctx) { 84 ASSERT_NOT_REACHED(); 85 return; 86 } 75 87 ExecState* exec = toJS(ctx); 76 88 APIEntryShim entryShim(exec);
Note:
See TracChangeset
for help on using the changeset viewer.