| Index: content/browser/renderer_host/render_process_host_impl.cc
|
| diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
|
| index 74d6ca1667e34578d419cd5137c88c81b0011349..f98b8bc0593a821580a6981c687a67a8168b527c 100644
|
| --- a/content/browser/renderer_host/render_process_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_process_host_impl.cc
|
| @@ -299,10 +299,6 @@ IPC::PlatformFileForTransit CreateFileForProcess(base::FilePath file_path,
|
| // Allow us to only run the trial in the first renderer.
|
| bool has_done_stun_trials = false;
|
|
|
| -// Does nothing. Just to avoid races between enable and disable.
|
| -void DisableAecDumpOnFileThread() {
|
| - DCHECK_CURRENTLY_ON(BrowserThread::FILE);
|
| -}
|
| #endif
|
|
|
| // the global list of all renderer processes
|
| @@ -2028,7 +2024,7 @@ void RenderProcessHostImpl::DisableAudioDebugRecordings() {
|
| // for avoiding races between enable and disable. Nothing is done on the FILE
|
| // thread.
|
| BrowserThread::PostTaskAndReply(
|
| - BrowserThread::FILE, FROM_HERE, base::Bind(&DisableAecDumpOnFileThread),
|
| + BrowserThread::FILE, FROM_HERE, base::Bind(&base::DoNothing),
|
| base::Bind(&RenderProcessHostImpl::SendDisableAecDumpToRenderer,
|
| weak_factory_.GetWeakPtr()));
|
|
|
| @@ -2060,7 +2056,7 @@ void RenderProcessHostImpl::DisableEventLogRecordings() {
|
| // for avoiding races between enable and disable. Nothing is done on the FILE
|
| // thread.
|
| BrowserThread::PostTaskAndReply(
|
| - BrowserThread::FILE, FROM_HERE, base::Bind(&DisableAecDumpOnFileThread),
|
| + BrowserThread::FILE, FROM_HERE, base::Bind(&base::DoNothing),
|
| base::Bind(&RenderProcessHostImpl::SendDisableEventLogToRenderer,
|
| weak_factory_.GetWeakPtr()));
|
| }
|
|
|