Changeset 27022 in webkit for trunk/JavaScriptCore/bindings
- Timestamp:
- Oct 24, 2007, 11:38:35 PM (18 years ago)
- Location:
- trunk/JavaScriptCore/bindings
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/bindings/c/c_utility.cpp
r26688 r27022 32 32 33 33 #include "NP_jsobject.h" 34 #include "c_instance.h" 34 #include "c_instance.h" 35 #include "JSGlobalObject.h" 35 36 #include "npruntime_impl.h" 36 37 #include "npruntime_priv.h" … … 131 132 132 133 Interpreter* interpreter = 0; 133 if (originInterpreter->isGlobalObject(value)) { 134 interpreter = originInterpreter->interpreterForGlobalObject(value); 135 } 134 if (object->isGlobalObject()) 135 interpreter = static_cast<JSGlobalObject*>(object)->interpreter(); 136 136 137 137 if (!interpreter) -
trunk/JavaScriptCore/bindings/jni/jni_jsobject.cpp
r26688 r27022 31 31 #include "jni_runtime.h" 32 32 #include "jni_utility.h" 33 #include "JSGlobalObject.h" 33 34 #include "list.h" 34 35 #include "runtime_object.h" -
trunk/JavaScriptCore/bindings/objc/objc_utility.mm
r26688 r27022 28 28 29 29 #include "objc_instance.h" 30 #include "JSGlobalObject.h" 30 31 #include "runtime_array.h" 31 32 #include "runtime_object.h" … … 141 142 142 143 Interpreter *interpreter = 0; 143 if ( originInterpreter->isGlobalObject(value))144 interpreter = originInterpreter->interpreterForGlobalObject(value);144 if (value->isObject() && static_cast<JSObject*>(value)->isGlobalObject()) 145 interpreter = static_cast<JSGlobalObject*>(value)->interpreter(); 145 146 146 147 if (!interpreter)
Note:
See TracChangeset
for help on using the changeset viewer.