Changeset 10399 in webkit for trunk/JavaScriptCore/kjs/function.h


Ignore:
Timestamp:
Aug 30, 2005, 4:56:15 PM (20 years ago)
Author:
darin
Message:

JavaScriptCore:

Reviewed by John Sullivan.

  • kjs/shared_ptr.h: Updated namespace to KXMLCore instead of kxhmlcore. Made a few small improvements to use local variables a bit more and added an "operator int" to reduce the chance that we'll convert a SharedPtr to an int by accident. Also made the == operators normal functions rather than friend functions, added a couple of comemnts.
  • kjs/function.h: Updated for namespace change.
  • kjs/function.cpp: Ditto.
  • kjs/function_object.cpp: Ditto.
  • kjs/internal.h: Ditto.
  • kjs/internal.cpp: Ditto.
  • kjs/nodes.h: Ditto.
  • kjs/nodes2string.cpp: Ditto.

WebCore:

Reviewed by John Sullivan.

  • ForwardingHeaders/kjs/shared_ptr.h: Added.
  • khtml/misc/shared.h: Removed SharedPtr, and instead included <kjs/shared_ptr.h> and did some using statements to import the template into the khtml namespace.
File:
1 edited

Legend:

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

    r10352 r10399  
    8383    virtual Completion execute(ExecState *exec);
    8484    CodeType codeType() const { return FunctionCode; }
    85     kxmlcore::SharedPtr<FunctionBodyNode> body;
     85    KXMLCore::SharedPtr<FunctionBodyNode> body;
    8686
    8787    virtual const ClassInfo *classInfo() const { return &info; }
Note: See TracChangeset for help on using the changeset viewer.