MediaStream API: Remove DeprecatedPeerConnection
https://bugs.webkit.org/show_bug.cgi?id=92106

Reviewed by Adam Barth.

Source/WebCore:

Since we are getting ready to add an updated PeerConnection
the old DeprecatedPeerConnection will have to go.

No new tests, and old tests converted to use PeerConnection00.

* CMakeLists.txt:
* GNUmakefile.list.am:
* Modules/mediastream/DOMWindowMediaStream.idl:
* Modules/mediastream/DeprecatedPeerConnection.cpp: Removed.
* Modules/mediastream/DeprecatedPeerConnection.h: Removed.
* Modules/mediastream/DeprecatedPeerConnection.idl: Removed.
* Modules/mediastream/SignalingCallback.h: Removed.
* Modules/mediastream/SignalingCallback.idl: Removed.
* PlatformBlackBerry.cmake:
* PlatformEfl.cmake:
* UseJSC.cmake:
* WebCore.gypi:
* bindings/generic/RuntimeEnabledFeatures.h:
* bindings/js/JSDeprecatedPeerConnectionCustom.cpp: Removed.
* dom/EventTargetFactory.in:
* platform/mediastream/DeprecatedPeerConnectionHandler.h: Removed.
* platform/mediastream/DeprecatedPeerConnectionHandlerClient.h: Removed.
* platform/mediastream/blackberry/DeprecatedPeerConnectionHandler.cpp: Removed.
* platform/mediastream/chromium/DeprecatedPeerConnectionHandler.cpp: Removed.
* platform/mediastream/chromium/DeprecatedPeerConnectionHandlerInternal.cpp: Removed.
* platform/mediastream/chromium/DeprecatedPeerConnectionHandlerInternal.h: Removed.
* platform/mediastream/gstreamer/DeprecatedPeerConnectionHandler.cpp: Removed.

LayoutTests:

Changed all usages of DeprecatedPeerConnection to PeerConnection00.

* fast/dom/call-a-constructor-as-a-function-expected.txt:
* fast/dom/call-a-constructor-as-a-function.html:
* fast/mediastream/peerconnection-addstream-expected.txt:
* fast/mediastream/peerconnection-argument-types-expected.txt:
* fast/mediastream/peerconnection-eventlistener-optional-argument.html:
* fast/mediastream/peerconnection-mediastreamlist.html:
* fast/mediastream/peerconnection-removestream-expected.txt:
* fast/mediastream/script-tests/peerconnection-addstream.js:
* fast/mediastream/script-tests/peerconnection-argument-types.js:
* fast/mediastream/script-tests/peerconnection-removestream.js:
* platform/chromium/fast/dom/call-a-constructor-as-a-function-expected.txt:
* platform/gtk/fast/dom/call-a-constructor-as-a-function-expected.txt:
* platform/gtk/fast/js/global-constructors-expected.txt:
* platform/win/fast/dom/call-a-constructor-as-a-function-expected.txt:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123724 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[DRT] LTC:: pageNumberForElementById() could be moved to Internals
https://bugs.webkit.org/show_bug.cgi?id=92091

Reviewed by Kentaro Hara.

Missing a symbol filter for Mac win port.

* win/WebKit2.def:
* win/WebKit2CFLite.def:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123725 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: add memory reporting routine to StyleResolver
https://bugs.webkit.org/show_bug.cgi?id=92259

Reviewed by Vsevolod Vlasov.

SyleResolver::reportMemoryUsage is added for estimating StyleResolver
memory footprint.

* css/StyleResolver.cpp:
(RuleData):
(RuleSet):
(RuleSetSelectorPair):
(WebCore::StyleResolver::Features::reportMemoryUsage):
(WebCore):
(WebCore::StyleResolver::collectMatchingRulesForList):
* css/StyleResolver.h:
(Features):
(StyleResolver):
* dom/Document.cpp:
(WebCore::Document::reportMemoryUsage):
* dom/MemoryInstrumentation.h:
(MemoryInstrumentation):
(WebCore::MemoryClassInfo::addInstrumentedHashSet):
(WebCore::MemoryClassInfo::addInstrumentedVector):
(WebCore::MemoryInstrumentation::addHashMap):
(WebCore):
(WebCore::MemoryInstrumentation::addInstrumentedCollection):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123726 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] [WK2] Memory leak in ewk_view_resource_load_client.cpp
https://bugs.webkit.org/show_bug.cgi?id=92099

Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-07-26
Reviewed by Kentaro Hara.

Fix a memory leak by clearing the loadingResources HashMap on exit.

* UIProcess/API/efl/ewk_view.cpp:
(_Ewk_View_Private_Data::~_Ewk_View_Private_Data):
(_ewk_view_priv_loading_resources_clear):
(ewk_view_load_provisional_started):

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