Index: chrome/test/ui/npapi_test_helper.cc |
diff --git a/chrome/test/ui/npapi_test_helper.cc b/chrome/test/ui/npapi_test_helper.cc |
index 18e71a0c126e903f21758e25d705b7d45ffc27d7..2bf6f1043f4dee0358805520666159e6430c09c5 100644 |
--- a/chrome/test/ui/npapi_test_helper.cc |
+++ b/chrome/test/ui/npapi_test_helper.cc |
@@ -49,8 +49,8 @@ void NPAPITesterBase::SetUp() { |
#if defined(OS_MACOSX) |
// The plugins directory isn't read by default on the Mac, so it needs to be |
// explicitly registered. |
- launch_arguments_.AppendSwitchWithValue(switches::kExtraPluginDir, |
- plugins_directory.value()); |
+ launch_arguments_.AppendSwitchPath(switches::kExtraPluginDir, |
+ plugins_directory); |
#endif |
UITest::SetUp(); |