Changeset 31962 in webkit for trunk/JavaScriptCore/API/JSContextRef.cpp
- Timestamp:
- Apr 16, 2008, 1:58:46 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/API/JSContextRef.cpp
r29663 r31962 73 73 { 74 74 ExecState* exec = toJS(ctx); 75 return toRef(exec->dynamicGlobalObject()); 75 76 // It is necessary to call toThisObject to get the wrapper object when used with WebCore. 77 return toRef(exec->dynamicGlobalObject()->toThisObject(exec)); 76 78 }
Note:
See TracChangeset
for help on using the changeset viewer.