Skip to content
  • darin's avatar
    JavaScriptCore: · 20ffad99
    darin authored
            Reviewed by John Sullivan.
    
            - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4758
              unify SharedPtr in WebCore and JavaScriptCore
    
            * 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.
    
            - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4758
              unify SharedPtr in WebCore and JavaScriptCore
    
            * 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.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10399 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    20ffad99