| Index: content/gpu/gpu_child_thread.cc
|
| diff --git a/content/gpu/gpu_child_thread.cc b/content/gpu/gpu_child_thread.cc
|
| index bd874a6701fd8a7ca25c4fb503ad3b9e7683736e..3bed106498ff8cb3c0841b5e29c53b5fd5ab03a6 100644
|
| --- a/content/gpu/gpu_child_thread.cc
|
| +++ b/content/gpu/gpu_child_thread.cc
|
| @@ -40,7 +40,6 @@
|
| #include "services/ui/gpu/interfaces/gpu_service.mojom.h"
|
| #include "ui/gl/gl_implementation.h"
|
| #include "ui/gl/gl_switches.h"
|
| -#include "ui/gl/gpu_switching_manager.h"
|
| #include "ui/gl/init/gl_factory.h"
|
| #include "url/gurl.h"
|
|
|
| @@ -173,16 +172,6 @@ bool GpuChildThread::Send(IPC::Message* msg) {
|
| return ChildThreadImpl::Send(msg);
|
| }
|
|
|
| -bool GpuChildThread::OnControlMessageReceived(const IPC::Message& msg) {
|
| - bool handled = true;
|
| - IPC_BEGIN_MESSAGE_MAP(GpuChildThread, msg)
|
| - IPC_MESSAGE_HANDLER(GpuMsg_GpuSwitched, OnGpuSwitched)
|
| - IPC_MESSAGE_UNHANDLED(handled = false)
|
| - IPC_END_MESSAGE_MAP()
|
| -
|
| - return handled;
|
| -}
|
| -
|
| void GpuChildThread::OnAssociatedInterfaceRequest(
|
| const std::string& name,
|
| mojo::ScopedInterfaceEndpointHandle handle) {
|
| @@ -243,13 +232,6 @@ void GpuChildThread::CreateDisplayCompositor(
|
| NOTREACHED();
|
| }
|
|
|
| -void GpuChildThread::OnGpuSwitched() {
|
| - DVLOG(1) << "GPU: GPU has switched";
|
| - // Notify observers in the GPU process.
|
| - if (!in_browser_process_)
|
| - ui::GpuSwitchingManager::GetInstance()->NotifyGpuSwitched();
|
| -}
|
| -
|
| void GpuChildThread::BindServiceFactoryRequest(
|
| service_manager::mojom::ServiceFactoryRequest request) {
|
| DVLOG(1) << "GPU: Binding service_manager::mojom::ServiceFactoryRequest";
|
|
|