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

Unified Diff: content/gpu/gpu_child_thread.cc

Issue 2723363002: gpu: Replace GpuMsg_Finalize ipc with equivalent mojom api (Closed)
Patch Set: . 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
« no previous file with comments | « content/gpu/gpu_child_thread.h ('k') | content/public/browser/gpu_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/gpu_child_thread.cc
diff --git a/content/gpu/gpu_child_thread.cc b/content/gpu/gpu_child_thread.cc
index 70e6190615be032dd8c3fe1bfaa1f05246757b89..fec69f189658486857881c28c8f051bd7630e7a3 100644
--- a/content/gpu/gpu_child_thread.cc
+++ b/content/gpu/gpu_child_thread.cc
@@ -246,7 +246,6 @@ bool GpuChildThread::Send(IPC::Message* msg) {
bool GpuChildThread::OnControlMessageReceived(const IPC::Message& msg) {
bool handled = true;
IPC_BEGIN_MESSAGE_MAP(GpuChildThread, msg)
- IPC_MESSAGE_HANDLER(GpuMsg_Finalize, OnFinalize)
IPC_MESSAGE_HANDLER(GpuMsg_CollectGraphicsInfo, OnCollectGraphicsInfo)
IPC_MESSAGE_HANDLER(GpuMsg_GpuSwitched, OnGpuSwitched)
IPC_MESSAGE_UNHANDLED(handled = false)
@@ -347,11 +346,6 @@ void GpuChildThread::CreateDisplayCompositor(
NOTREACHED();
}
-void GpuChildThread::OnFinalize() {
- // Quit the GPU process
- base::MessageLoop::current()->QuitWhenIdle();
-}
-
void GpuChildThread::OnCollectGraphicsInfo() {
if (dead_on_arrival_)
return;
« no previous file with comments | « content/gpu/gpu_child_thread.h ('k') | content/public/browser/gpu_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698