Changeset 32808 in webkit for trunk/JavaScriptCore/API/JSBase.cpp
- Timestamp:
- May 2, 2008, 3:29:47 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/API/JSBase.cpp
r32807 r32808 30 30 #include "APICast.h" 31 31 #include <kjs/ExecState.h> 32 #include <kjs/InitializeThreading.h> 33 #include <kjs/interpreter.h> 32 34 #include <kjs/JSGlobalObject.h> 33 35 #include <kjs/JSLock.h> 34 #include <kjs/interpreter.h>35 36 #include <kjs/object.h> 36 37 … … 77 78 } 78 79 79 void JSGarbageCollect(JSContextRef )80 void JSGarbageCollect(JSContextRef ctx) 80 81 { 82 // Unlikely, but it is legal to call JSGarbageCollect(0) before actually doing anything that would implicitly call initializeThreading(). 83 if (!ctx) 84 initializeThreading(); 85 81 86 JSLock lock; 82 87
Note:
See TracChangeset
for help on using the changeset viewer.