Changeset 35293 in webkit for trunk/JavaScriptCore/API/JSContextRef.cpp
- Timestamp:
- Jul 23, 2008, 3:15:16 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/API/JSContextRef.cpp
r35159 r35293 52 52 53 53 JSGlobalObject* globalObject = new (sharedGlobalData) JSCallbackObject<JSGlobalObject>(globalObjectClass); 54 JSGlobalContextRef ctx = toGlobalRef(globalObject->globalExec());55 JSValue* prototype = globalObjectClass->prototype( ctx);54 ExecState* exec = globalObject->globalExec(); 55 JSValue* prototype = globalObjectClass->prototype(exec); 56 56 if (!prototype) 57 57 prototype = jsNull(); 58 58 globalObject->reset(prototype); 59 return JSGlobalContextRetain( ctx);59 return JSGlobalContextRetain(toGlobalRef(exec)); 60 60 } 61 61
Note:
See TracChangeset
for help on using the changeset viewer.