Index: content/browser/gpu/gpu_data_manager_impl_private.cc |
diff --git a/content/browser/gpu/gpu_data_manager_impl_private.cc b/content/browser/gpu/gpu_data_manager_impl_private.cc |
index 161f07b1bff27f3fb959bb7f7246051317fbc24f..6b57bcf41508598a03998e00072e6b3d2ceebfc6 100644 |
--- a/content/browser/gpu/gpu_data_manager_impl_private.cc |
+++ b/content/browser/gpu/gpu_data_manager_impl_private.cc |
@@ -11,7 +11,6 @@ |
#include "base/metrics/histogram.h" |
#include "base/metrics/sparse_histogram.h" |
#include "base/strings/string_number_conversions.h" |
-#include "base/strings/string_split.h" |
#include "base/strings/stringprintf.h" |
#include "base/sys_info.h" |
#include "base/trace_event/trace_event.h" |
@@ -19,7 +18,7 @@ |
#include "build/build_config.h" |
#include "cc/base/switches.h" |
#include "content/browser/gpu/gpu_process_host.h" |
-#include "content/common/gpu/gpu_host_messages.h" |
+#include "content/common/gpu/gpu_messages.h" |
#include "content/public/browser/browser_thread.h" |
#include "content/public/browser/gpu_data_manager_observer.h" |
#include "content/public/common/content_client.h" |
@@ -409,9 +408,10 @@ |
} |
void GpuDataManagerImplPrivate::RequestVideoMemoryUsageStatsUpdate() const { |
- GpuProcessHost::SendOnIO(GpuProcessHost::GPU_PROCESS_KIND_SANDBOXED, |
- CAUSE_FOR_GPU_LAUNCH_NO_LAUNCH, |
- new GpuMsg_GetVideoMemoryUsageStats()); |
+ GpuProcessHost::SendOnIO( |
+ GpuProcessHost::GPU_PROCESS_KIND_SANDBOXED, |
+ CAUSE_FOR_GPU_LAUNCH_NO_LAUNCH, |
+ new GpuMsg_GetVideoMemoryUsageStats()); |
} |
bool GpuDataManagerImplPrivate::ShouldUseSwiftShader() const { |
@@ -455,9 +455,10 @@ |
} |
void GpuDataManagerImplPrivate::DisableGpuWatchdog() { |
- GpuProcessHost::SendOnIO(GpuProcessHost::GPU_PROCESS_KIND_SANDBOXED, |
- CAUSE_FOR_GPU_LAUNCH_NO_LAUNCH, |
- new GpuMsg_DisableWatchdog); |
+ GpuProcessHost::SendOnIO( |
+ GpuProcessHost::GPU_PROCESS_KIND_SANDBOXED, |
+ CAUSE_FOR_GPU_LAUNCH_NO_LAUNCH, |
+ new GpuMsg_DisableWatchdog); |
} |
void GpuDataManagerImplPrivate::SetGLStrings(const std::string& gl_vendor, |
@@ -892,9 +893,10 @@ |
// Notify observers in the browser process. |
ui::GpuSwitchingManager::GetInstance()->NotifyGpuSwitched(); |
// Pass the notification to the GPU process to notify observers there. |
- GpuProcessHost::SendOnIO(GpuProcessHost::GPU_PROCESS_KIND_SANDBOXED, |
- CAUSE_FOR_GPU_LAUNCH_NO_LAUNCH, |
- new GpuMsg_GpuSwitched); |
+ GpuProcessHost::SendOnIO( |
+ GpuProcessHost::GPU_PROCESS_KIND_SANDBOXED, |
+ CAUSE_FOR_GPU_LAUNCH_NO_LAUNCH, |
+ new GpuMsg_GpuSwitched); |
} |
bool GpuDataManagerImplPrivate::UpdateActiveGpu(uint32_t vendor_id, |