| Index: content/child/blink_platform_impl.cc
|
| diff --git a/content/child/blink_platform_impl.cc b/content/child/blink_platform_impl.cc
|
| index d743fffac4636fee02a2845e2dc1a113205cf13d..a88969412cb883d3bdf85304e567c001f212e881 100644
|
| --- a/content/child/blink_platform_impl.cc
|
| +++ b/content/child/blink_platform_impl.cc
|
| @@ -35,6 +35,7 @@
|
| #include "blink/public/resources/grit/blink_resources.h"
|
| #include "components/mime_util/mime_util.h"
|
| #include "components/scheduler/child/webthread_impl_for_worker_scheduler.h"
|
| +#include "components/web_cache/renderer/web_cache_memory_dump_provider.h"
|
| #include "content/app/resources/grit/content_resources.h"
|
| #include "content/app/strings/grit/content_strings.h"
|
| #include "content/child/background_sync/background_sync_provider.h"
|
| @@ -461,6 +462,10 @@ void BlinkPlatformImpl::InternalInit() {
|
| ChildThreadImpl::current()->service_registry()));
|
| sync_provider_.reset(new BackgroundSyncProvider(
|
| ChildThreadImpl::current()->service_registry()));
|
| +
|
| + base::trace_event::MemoryDumpManager::GetInstance()->RegisterDumpProvider(
|
| + web_cache::WebCacheMemoryDumpProvider::GetInstance(),
|
| + main_thread_task_runner_);
|
| }
|
| }
|
|
|
| @@ -470,6 +475,8 @@ void BlinkPlatformImpl::UpdateWebThreadTLS(blink::WebThread* thread) {
|
| }
|
|
|
| BlinkPlatformImpl::~BlinkPlatformImpl() {
|
| + base::trace_event::MemoryDumpManager::GetInstance()->RegisterDumpProvider(
|
| + web_cache::WebCacheMemoryDumpProvider::GetInstance());
|
| }
|
|
|
| WebURLLoader* BlinkPlatformImpl::createURLLoader() {
|
|
|