Changeset 29729 in webkit for trunk/JavaScriptCore/bindings/runtime.cpp
- Timestamp:
- Jan 23, 2008, 1:39:04 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/bindings/runtime.cpp
r29447 r29729 84 84 { 85 85 Instance *newInstance = 0; 86 86 87 87 switch (language) { 88 88 #if HAVE(JNI) … … 130 130 return QtInstance::getRuntimeObject(static_cast<QtInstance*>(instance)); 131 131 #endif 132 return reallyCreateRuntimeObject(instance); 133 } 134 135 JSObject* Instance::reallyCreateRuntimeObject(Instance* instance) 136 { 132 137 JSLock lock; 138 133 139 return new RuntimeObjectImp(instance); 134 140 } … … 148 154 } 149 155 150 RootObject* Instance::rootObject() const 151 { 156 RootObject* Instance::rootObject() const 157 { 152 158 return _rootObject && _rootObject->isValid() ? _rootObject.get() : 0; 153 159 }
Note:
See TracChangeset
for help on using the changeset viewer.