diff options
Diffstat (limited to 'chrome/browser/gpu_process_host_ui_shim.cc')
-rw-r--r-- | chrome/browser/gpu_process_host_ui_shim.cc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/chrome/browser/gpu_process_host_ui_shim.cc b/chrome/browser/gpu_process_host_ui_shim.cc index ac0ea32..54c9ad0 100644 --- a/chrome/browser/gpu_process_host_ui_shim.cc +++ b/chrome/browser/gpu_process_host_ui_shim.cc @@ -380,8 +380,6 @@ bool GpuProcessHostUIShim::OnControlMessageReceived( OnDestroyCommandBuffer) IPC_MESSAGE_HANDLER(GpuHostMsg_GraphicsInfoCollected, OnGraphicsInfoCollected) - IPC_MESSAGE_HANDLER_DELAY_REPLY(GpuHostMsg_PreliminaryGraphicsInfoCollected, - OnPreliminaryGraphicsInfoCollected) IPC_MESSAGE_HANDLER(GpuHostMsg_OnLogMessage, OnLogMessage) IPC_MESSAGE_HANDLER(GpuHostMsg_SynchronizeReply, @@ -463,16 +461,6 @@ void GpuProcessHostUIShim::OnGraphicsInfoCollected(const GPUInfo& gpu_info) { gpu_data_manager_->UpdateGpuInfo(gpu_info); } -void GpuProcessHostUIShim::OnPreliminaryGraphicsInfoCollected( - const GPUInfo& gpu_info, IPC::Message* reply_msg) { - gpu_data_manager_->UpdateGpuInfo(gpu_info); - GpuFeatureFlags flags = gpu_data_manager_->GetGpuFeatureFlags(); - - GpuHostMsg_PreliminaryGraphicsInfoCollected::WriteReplyParams( - reply_msg, flags.flags() != 0); - Send(reply_msg); -} - void GpuProcessHostUIShim::OnLogMessage(int level, const std::string& header, const std::string& message) { |