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

Unified Diff: content/browser/gpu/gpu_process_host_ui_shim.cc

Issue 2753293003: gpu: Replace GpuMsg_CollectGraphicsInfo with mojom API. (Closed)
Patch Set: tot merge Created 3 years, 9 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
Index: content/browser/gpu/gpu_process_host_ui_shim.cc
diff --git a/content/browser/gpu/gpu_process_host_ui_shim.cc b/content/browser/gpu/gpu_process_host_ui_shim.cc
index 252797e0a1ecc212de3b8671927941dd36661717..01b2b5cd8102d2ca404297a7825194683e6bc31b 100644
--- a/content/browser/gpu/gpu_process_host_ui_shim.cc
+++ b/content/browser/gpu/gpu_process_host_ui_shim.cc
@@ -149,9 +149,6 @@ bool GpuProcessHostUIShim::OnControlMessageReceived(
IPC_BEGIN_MESSAGE_MAP(GpuProcessHostUIShim, message)
IPC_MESSAGE_HANDLER(GpuHostMsg_OnLogMessage, OnLogMessage)
- IPC_MESSAGE_HANDLER(GpuHostMsg_GraphicsInfoCollected,
- OnGraphicsInfoCollected)
-
IPC_MESSAGE_UNHANDLED_ERROR()
IPC_END_MESSAGE_MAP()
@@ -166,15 +163,6 @@ void GpuProcessHostUIShim::OnLogMessage(
level, header, message);
}
-void GpuProcessHostUIShim::OnGraphicsInfoCollected(
- const gpu::GPUInfo& gpu_info) {
- // OnGraphicsInfoCollected is sent back after the GPU process successfully
- // initializes GL.
- TRACE_EVENT0("test_gpu", "OnGraphicsInfoCollected");
-
- GpuDataManagerImpl::GetInstance()->UpdateGpuInfo(gpu_info);
-}
-
#if defined(OS_ANDROID)
// static
void GpuProcessHostUIShim::RegisterUIThreadMojoInterfaces(

Powered by Google App Engine
This is Rietveld 408576698