Changeset 10399 in webkit for trunk/JavaScriptCore/kjs/internal.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/internal.h

    r10354 r10399  
    197197  class Parser {
    198198  public:
    199     static kxmlcore::SharedPtr<ProgramNode> parse(const UString &sourceURL, int startingLineNumber,
     199    static KXMLCore::SharedPtr<ProgramNode> parse(const UString &sourceURL, int startingLineNumber,
    200200                                                  const UChar *code, unsigned int length, int *sourceId = 0,
    201201                                                  int *errLine = 0, UString *errMsg = 0);
Note: See TracChangeset for help on using the changeset viewer.