Index: content/browser/renderer_host/render_widget_host_impl.cc |
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc |
index 7e637a74826b1718173e9fdfb5d926437525a61a..3c74b897ac2d156e01fd0c7446bb1e6e134e66ad 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.cc |
+++ b/content/browser/renderer_host/render_widget_host_impl.cc |
@@ -21,6 +21,7 @@ |
#include "base/strings/string_number_conversions.h" |
#include "base/strings/utf_string_conversions.h" |
#include "base/thread_task_runner_handle.h" |
+#include "cc/base/switches.h" |
#include "cc/output/compositor_frame.h" |
#include "cc/output/compositor_frame_ack.h" |
#include "content/browser/accessibility/browser_accessibility_state_impl.h" |
@@ -2476,7 +2477,7 @@ void RenderWidgetHostImpl::WindowSnapshotReachedScreen(int snapshot_id) { |
// This feature is behind the kEnableGpuBenchmarking command line switch |
// because it poses security concerns and should only be used for testing. |
const CommandLine& command_line = *CommandLine::ForCurrentProcess(); |
- if (!command_line.HasSwitch(switches::kEnableGpuBenchmarking)) { |
+ if (!command_line.HasSwitch(cc::switches::kEnableGpuBenchmarking)) { |
Send(new ViewMsg_WindowSnapshotCompleted( |
GetRoutingID(), snapshot_id, gfx::Size(), png)); |
return; |