Changeset 197467 in webkit for trunk/Source/JavaScriptCore/API/JSObjectRef.cpp
- Timestamp:
- Mar 2, 2016, 2:39:02 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/API/JSObjectRef.cpp
r194863 r197467 118 118 JSCallbackObject<JSDestructibleObject>* object = JSCallbackObject<JSDestructibleObject>::create(exec, exec->lexicalGlobalObject(), exec->lexicalGlobalObject()->callbackObjectStructure(), jsClass, data); 119 119 if (JSObject* prototype = jsClass->prototype(exec)) 120 object->setPrototype (exec->vm(), prototype);120 object->setPrototypeDirect(exec->vm(), prototype); 121 121 122 122 return toRef(object); … … 292 292 RELEASE_ASSERT_NOT_REACHED(); 293 293 } 294 jsObject->setPrototype WithCycleCheck(exec, jsValue.isObject() ? jsValue : jsNull());294 jsObject->setPrototypeOfInline(exec->vm(), exec, jsValue.isObject() ? jsValue : jsNull()); 295 295 } 296 296
Note:
See TracChangeset
for help on using the changeset viewer.