⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 99776 in webkit


Ignore:
Timestamp:
Nov 9, 2011, 3:55:47 PM (15 years ago)
Author:
haraken@chromium.org
Message:

Unreviewed, rebaseline run-bindings-tests results.

  • bindings/scripts/test/JS/JSTestNamedConstructor.cpp:

(WebCore::JSTestNamedConstructorConstructor::getOwnPropertyDescriptor):
(WebCore::JSTestNamedConstructor::getOwnPropertyDescriptor):

  • bindings/scripts/test/JS/JSTestNamedConstructor.h:
Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r99774 r99776  
     12011-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
    1102011-11-09  Alexandre Elias  <aelias@google.com>
    211
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp

    r99641 r99776  
    8989}
    9090
    91 bool JSTestNamedConstructorConstructor::getOwnPropertyDescriptor(ExecState* exec, const Identifier& propertyName, PropertyDescriptor& descriptor)
    92 {
    93     return getStaticValueDescriptor<JSTestNamedConstructorConstructor, JSDOMWrapper>(exec, &JSTestNamedConstructorConstructorTable, this, propertyName, descriptor);
     91bool 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);
    9494}
    9595
     
    146146}
    147147
    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);
     148bool 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);
    152153}
    153154
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.h

    r99641 r99776  
    4242    static JSC::JSObject* createPrototype(JSC::ExecState*, JSC::JSGlobalObject*);
    4343    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&);
    4545    static const JSC::ClassInfo s_info;
    4646
     
    118118
    119119    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&);
    121121    static const JSC::ClassInfo s_info;
    122122    static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
Note: See TracChangeset for help on using the changeset viewer.