| Index: content/child/blink_platform_impl.cc
|
| diff --git a/content/child/blink_platform_impl.cc b/content/child/blink_platform_impl.cc
|
| index c8f41688a6fb8017f9075e160af300c0d5673640..d9be27c97a7be5de837f1cbd58974b072347a689 100644
|
| --- a/content/child/blink_platform_impl.cc
|
| +++ b/content/child/blink_platform_impl.cc
|
| @@ -51,8 +51,6 @@
|
| #include "content/child/push_messaging/push_provider.h"
|
| #include "content/child/thread_safe_sender.h"
|
| #include "content/child/web_discardable_memory_impl.h"
|
| -#include "content/child/web_memory_dump_provider_adapter.h"
|
| -#include "content/child/web_process_memory_dump_impl.h"
|
| #include "content/child/web_url_loader_impl.h"
|
| #include "content/child/web_url_request_util.h"
|
| #include "content/child/websocket_bridge.h"
|
| @@ -65,7 +63,6 @@
|
| #include "third_party/WebKit/public/platform/WebConvertableToTraceFormat.h"
|
| #include "third_party/WebKit/public/platform/WebData.h"
|
| #include "third_party/WebKit/public/platform/WebFloatPoint.h"
|
| -#include "third_party/WebKit/public/platform/WebMemoryDumpProvider.h"
|
| #include "third_party/WebKit/public/platform/WebString.h"
|
| #include "third_party/WebKit/public/platform/WebURL.h"
|
| #include "third_party/WebKit/public/platform/WebWaitableEvent.h"
|
| @@ -703,40 +700,6 @@ void BlinkPlatformImpl::updateTraceEventDuration(
|
| category_group_enabled, name, traceEventHandle);
|
| }
|
|
|
| -void BlinkPlatformImpl::registerMemoryDumpProvider(
|
| - blink::WebMemoryDumpProvider* wmdp) {
|
| - WebMemoryDumpProviderAdapter* wmdp_adapter =
|
| - new WebMemoryDumpProviderAdapter(wmdp);
|
| - bool did_insert =
|
| - memory_dump_providers_.add(wmdp, make_scoped_ptr(wmdp_adapter)).second;
|
| - if (!did_insert)
|
| - return;
|
| - wmdp_adapter->set_is_registered(true);
|
| - base::trace_event::MemoryDumpManager::GetInstance()->RegisterDumpProvider(
|
| - wmdp_adapter, base::ThreadTaskRunnerHandle::Get());
|
| -}
|
| -
|
| -void BlinkPlatformImpl::unregisterMemoryDumpProvider(
|
| - blink::WebMemoryDumpProvider* wmdp) {
|
| - scoped_ptr<WebMemoryDumpProviderAdapter> wmdp_adapter =
|
| - memory_dump_providers_.take_and_erase(wmdp);
|
| - if (!wmdp_adapter)
|
| - return;
|
| - base::trace_event::MemoryDumpManager::GetInstance()->UnregisterDumpProvider(
|
| - wmdp_adapter.get());
|
| - wmdp_adapter->set_is_registered(false);
|
| -}
|
| -
|
| -blink::WebProcessMemoryDump* BlinkPlatformImpl::createProcessMemoryDump() {
|
| - return new WebProcessMemoryDumpImpl();
|
| -}
|
| -
|
| -blink::Platform::WebMemoryAllocatorDumpGuid
|
| -BlinkPlatformImpl::createWebMemoryAllocatorDumpGuid(
|
| - const blink::WebString& guidStr) {
|
| - return base::trace_event::MemoryAllocatorDumpGuid(guidStr.utf8()).ToUint64();
|
| -}
|
| -
|
| namespace {
|
|
|
| WebData loadAudioSpatializationResource(const char* name) {
|
|
|