Index: content/gpu/gpu_child_thread.cc |
diff --git a/content/gpu/gpu_child_thread.cc b/content/gpu/gpu_child_thread.cc |
index 2f05bb5f907bf75231814ff39e672059ecfef92f..46fd803a140c85abacc8f3547617878943c4d8ca 100644 |
--- a/content/gpu/gpu_child_thread.cc |
+++ b/content/gpu/gpu_child_thread.cc |
@@ -504,7 +504,8 @@ void GpuChildThread::OnDisableWatchdog() { |
void GpuChildThread::OnGpuSwitched() { |
DVLOG(1) << "GPU: GPU has switched"; |
// Notify observers in the GPU process. |
- ui::GpuSwitchingManager::GetInstance()->NotifyGpuSwitched(); |
+ if (!in_browser_process_) |
+ ui::GpuSwitchingManager::GetInstance()->NotifyGpuSwitched(); |
} |
void GpuChildThread::OnEstablishChannel(const EstablishChannelParams& params) { |