Index: chrome/test/ui/inspector_controller_uitest.cc |
diff --git a/chrome/test/ui/inspector_controller_uitest.cc b/chrome/test/ui/inspector_controller_uitest.cc |
index 29b14891431fc3723b40fa487c8a3d5a173a86bb..289cca0ab41e8668beaedeabb650227f530abe48 100644 |
--- a/chrome/test/ui/inspector_controller_uitest.cc |
+++ b/chrome/test/ui/inspector_controller_uitest.cc |
@@ -34,7 +34,7 @@ TEST_F(InspectorControllerTest, DISABLED_InspectElement) { |
if (IsTestCaseDisabled()) |
return; |
- if (CommandLine().HasSwitch(switches::kSingleProcess)) |
+ if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kSingleProcess)) |
return; |
scoped_refptr<HTTPTestServer> server = |