Remove use of deleteAllValues in NPRemoteObjectMap::pluginDestroyed
https://bugs.webkit.org/show_bug.cgi?id=122496

Reviewed by Andreas Kling.

* Shared/Plugins/NPRemoteObjectMap.cpp:
(WebKit::NPRemoteObjectMap::registerNPObject): Don't call release when puttin objects
into the map.
(WebKit::NPRemoteObjectMap::pluginDestroyed): Instead of making an array of receivers
and deleting them all, remove all of the receivers from the map, which will take care
of deleting them. Also change the other loop to use a similar coding style.

* Shared/Plugins/NPRemoteObjectMap.h: Change the value type of m_registeredNPObjects
to be unique_ptr instead of a raw pointer.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157157 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed. Fix EFL buildbreak since r157152.

* dom/EventRetargeter.cpp:
(WebCore::EventRetargeter::adjustForTouchEvent):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157158 268f45cc-cd09-0410-ab3c-d52691b4dbfc