Changeset 99776 in webkit
- Timestamp:
- Nov 9, 2011, 3:55:47 PM (15 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
bindings/scripts/test/JS/JSTestNamedConstructor.cpp (modified) (2 diffs)
-
bindings/scripts/test/JS/JSTestNamedConstructor.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r99774 r99776 1 2011-11-09 Kentaro Hara <haraken@chromium.org> 2 3 Unreviewed, rebaseline run-bindings-tests results. 4 5 * bindings/scripts/test/JS/JSTestNamedConstructor.cpp: 6 (WebCore::JSTestNamedConstructorConstructor::getOwnPropertyDescriptor): 7 (WebCore::JSTestNamedConstructor::getOwnPropertyDescriptor): 8 * bindings/scripts/test/JS/JSTestNamedConstructor.h: 9 1 10 2011-11-09 Alexandre Elias <aelias@google.com> 2 11 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp
r99641 r99776 89 89 } 90 90 91 bool JSTestNamedConstructorConstructor::getOwnPropertyDescriptor( ExecState* exec, const Identifier& propertyName, PropertyDescriptor& descriptor)92 { 93 return getStaticValueDescriptor<JSTestNamedConstructorConstructor, JSDOMWrapper>(exec, &JSTestNamedConstructorConstructorTable, this, propertyName, descriptor);91 bool JSTestNamedConstructorConstructor::getOwnPropertyDescriptor(JSObject* object, ExecState* exec, const Identifier& propertyName, PropertyDescriptor& descriptor) 92 { 93 return getStaticValueDescriptor<JSTestNamedConstructorConstructor, JSDOMWrapper>(exec, &JSTestNamedConstructorConstructorTable, static_cast<JSTestNamedConstructorConstructor*>(object), propertyName, descriptor); 94 94 } 95 95 … … 146 146 } 147 147 148 bool JSTestNamedConstructor::getOwnPropertyDescriptor(ExecState* exec, const Identifier& propertyName, PropertyDescriptor& descriptor) 149 { 150 ASSERT_GC_OBJECT_INHERITS(this, &s_info); 151 return getStaticValueDescriptor<JSTestNamedConstructor, Base>(exec, &JSTestNamedConstructorTable, this, propertyName, descriptor); 148 bool JSTestNamedConstructor::getOwnPropertyDescriptor(JSObject* object, ExecState* exec, const Identifier& propertyName, PropertyDescriptor& descriptor) 149 { 150 JSTestNamedConstructor* thisObject = static_cast<JSTestNamedConstructor*>(object); 151 ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info); 152 return getStaticValueDescriptor<JSTestNamedConstructor, Base>(exec, &JSTestNamedConstructorTable, thisObject, propertyName, descriptor); 152 153 } 153 154 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.h
r99641 r99776 42 42 static JSC::JSObject* createPrototype(JSC::ExecState*, JSC::JSGlobalObject*); 43 43 static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, const JSC::Identifier& propertyName, JSC::PropertySlot&); 44 virtual bool getOwnPropertyDescriptor(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::PropertyDescriptor&);44 static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, const JSC::Identifier& propertyName, JSC::PropertyDescriptor&); 45 45 static const JSC::ClassInfo s_info; 46 46 … … 118 118 119 119 static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, const JSC::Identifier&, JSC::PropertySlot&); 120 virtual bool getOwnPropertyDescriptor(JSC::ExecState*, const JSC::Identifier&, JSC::PropertyDescriptor&);120 static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, const JSC::Identifier&, JSC::PropertyDescriptor&); 121 121 static const JSC::ClassInfo s_info; 122 122 static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
Note:
See TracChangeset
for help on using the changeset viewer.