Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(998)

Unified Diff: content/browser/browser_main_loop.cc

Issue 2971083002: gpu: Reduce direct use of BrowserGpuMemoryBufferManager (Closed)
Patch Set: . Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/compositor/gpu_process_transport_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_main_loop.cc
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc
index be8eddcb27795cdd50598c772de3ee40cafff517..2db01e758a186377e5b64261fd204bd0d33c01b2 100644
--- a/content/browser/browser_main_loop.cc
+++ b/content/browser/browser_main_loop.cc
@@ -1475,12 +1475,6 @@ int BrowserMainLoop::BrowserThreadsStarted() {
#endif // defined(USE_AURA)
#endif // defined(OS_ANDROID)
- // Enable the GpuMemoryBuffer dump provider with IO thread affinity. Note that
- // unregistration happens on the IO thread (See
- // BrowserProcessSubThread::IOThreadPreCleanUp).
- base::trace_event::MemoryDumpManager::GetInstance()->RegisterDumpProvider(
- BrowserGpuMemoryBufferManager::current(), "BrowserGpuMemoryBufferManager",
- io_thread_->task_runner());
#if defined(OS_ANDROID)
base::trace_event::MemoryDumpManager::GetInstance()->RegisterDumpProvider(
tracing::GraphicsMemoryDumpProvider::GetInstance(), "AndroidGraphics",
« no previous file with comments | « no previous file | content/browser/compositor/gpu_process_transport_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698