Add api for "remove" to WKMutableDictionary
authoralice.liu@apple.com <alice.liu@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 12 Mar 2011 03:32:33 +0000 (03:32 +0000)
committeralice.liu@apple.com <alice.liu@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 12 Mar 2011 03:32:33 +0000 (03:32 +0000)
commit1f52deba3e9cfba9c411f69cd53b651407e98a9f
tree2710d6b8e604d5c24fc42e5cfac6ae26b292f01e
parenteafa8db1c5d29abf00a50d89cee936613b65685d
Add api for "remove" to WKMutableDictionary
https://bugs.webkit.org/show_bug.cgi?id=56157

Reviewed by Sam Weinig.

* Shared/API/c/WKMutableDictionary.cpp:
(WKDictionaryRemoveItem): Added; call remove on MutableDictionary impl.
* Shared/API/c/WKMutableDictionary.h:
* Shared/MutableDictionary.cpp:
(WebKit::MutableDictionary::remove): Added; call remove on the underlying hashmap.
* Shared/MutableDictionary.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80920 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit2/ChangeLog
Source/WebKit2/Shared/API/c/WKMutableDictionary.cpp
Source/WebKit2/Shared/API/c/WKMutableDictionary.h
Source/WebKit2/Shared/MutableDictionary.cpp
Source/WebKit2/Shared/MutableDictionary.h