Ignore:
Timestamp:
Sep 29, 2008, 6:14:26 PM (17 years ago)
Author:
Darin Adler
Message:

JavaScriptCore:

2008-09-29 Darin Adler <Darin Adler>

Reviewed by Sam Weinig.

  • JavaScriptCore.exp: Updated since JSGlobalObject::init no longer takes a parameter.
  • VM/Machine.cpp: (JSC::Machine::execute): Removed m_registerFile argument for ExecState constructors.
  • kjs/DebuggerCallFrame.cpp: (JSC::DebuggerCallFrame::evaluate): Removed globalThisValue argument for ExecState constructor.
  • kjs/ExecState.cpp: (JSC::ExecState::ExecState): Removed globalThisValue and registerFile arguments to constructors.
  • kjs/ExecState.h: Removed m_globalThisValue and m_registerFile data members.
  • kjs/JSGlobalObject.cpp: (JSC::JSGlobalObject::init): Removed globalThisValue argument for ExecState constructor.
  • kjs/JSGlobalObject.h: (JSC::JSGlobalObject::JSGlobalObject): Got rid of parameter for the init function.

WebCore:

2008-09-29 Darin Adler <Darin Adler>

Reviewed by Sam Weinig.

  • bindings/js/JSDOMWindowBase.cpp: (WebCore::JSDOMWindowBase::JSDOMWindowBase): Removed globalThisValue argument for base class constructor.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/JSGlobalObject.h

    r37086 r37088  
    149149            : JSVariableObject(globalData->nullProtoStructureID, new JSGlobalObjectData(this, this))
    150150        {
    151             init(this);
     151            init();
    152152        }
    153153
    154154    protected:
    155         JSGlobalObject(PassRefPtr<StructureID> structure, JSGlobalObjectData* data, JSObject* globalThisValue)
     155        JSGlobalObject(PassRefPtr<StructureID> structure, JSGlobalObjectData* data)
    156156            : JSVariableObject(structure, data)
    157157        {
    158             init(globalThisValue);
     158            init();
    159159        }
    160160
     
    271271
    272272    private:
    273         // FIXME: Fold these functions into the constructor.
    274         void init(JSObject* thisValue);
     273        // FIXME: Fold reset into init.
     274        void init();
    275275        void reset(JSValue* prototype);
    276276
Note: See TracChangeset for help on using the changeset viewer.