summaryrefslogtreecommitdiffstats
path: root/chrome/browser/android/voice_search_tab_helper.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/android/voice_search_tab_helper.cc')
-rw-r--r--chrome/browser/android/voice_search_tab_helper.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/android/voice_search_tab_helper.cc b/chrome/browser/android/voice_search_tab_helper.cc
index 0782f75..0edb753 100644
--- a/chrome/browser/android/voice_search_tab_helper.cc
+++ b/chrome/browser/android/voice_search_tab_helper.cc
@@ -24,7 +24,8 @@ static void UpdateAutoplayStatus(JNIEnv* env,
jobject j_web_contents) {
// In the case where media autoplay has been disabled by default (e.g. in
// performance media tests) do not update it based on navigation changes.
- const CommandLine& command_line = *CommandLine::ForCurrentProcess();
+ const base::CommandLine& command_line =
+ *base::CommandLine::ForCurrentProcess();
if (command_line.HasSwitch(
switches::kDisableGestureRequirementForMediaPlayback))
return;