2006-08-22 Anders Carlsson <acarlsson@apple.com>
Reviewed by Darin.
Move the npruntime code over to using HashMap and the runtime_root code over to using
HashMap and HashCountedSet.
* bindings/NP_jsobject.cpp:
* bindings/c/c_utility.cpp:
(KJS::Bindings::identifierFromNPIdentifier):
* bindings/c/c_utility.h:
* bindings/jni/jni_jsobject.cpp:
(JavaJSObject::invoke):
* bindings/npruntime.cpp:
(getStringIdentifierMap):
(getIntIdentifierMap):
(_NPN_GetStringIdentifier):
(_NPN_GetIntIdentifier):
* bindings/runtime_root.cpp:
(getReferencesByRootMap):
(getReferencesSet):
(KJS::Bindings::findReferenceSet):
(KJS::Bindings::rootForImp):
(KJS::Bindings::rootForInterpreter):
(KJS::Bindings::addNativeReference):
(KJS::Bindings::removeNativeReference):
(RootObject::removeAllNativeReferences):
* bindings/runtime_root.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15972
268f45cc-cd09-0410-ab3c-
d52691b4dbfc