| Index: content/browser/tracing/tracing_controller_impl.cc
|
| diff --git a/content/browser/tracing/tracing_controller_impl.cc b/content/browser/tracing/tracing_controller_impl.cc
|
| index e4c48115dd2de2f8124dae0af83161e35d34a05d..7c2c4d368027ee8a02314e6e5326e318c543f030 100644
|
| --- a/content/browser/tracing/tracing_controller_impl.cc
|
| +++ b/content/browser/tracing/tracing_controller_impl.cc
|
| @@ -913,6 +913,10 @@ void TracingControllerImpl::OnClockSyncMarkerRecordedByAgent(
|
| void TracingControllerImpl::RequestGlobalMemoryDump(
|
| const base::trace_event::MemoryDumpRequestArgs& args,
|
| const base::trace_event::MemoryDumpCallback& callback) {
|
| + if (!base::trace_event::MemoryDumpManager::GetInstance()->IsDumpModeAllowed(
|
| + args.level_of_detail))
|
| + return;
|
| +
|
| if (!BrowserThread::CurrentlyOn(BrowserThread::UI)) {
|
| BrowserThread::PostTask(
|
| BrowserThread::UI, FROM_HERE,
|
|
|