diff options
Diffstat (limited to 'chrome/test/selenium/selenium_test.cc')
-rw-r--r-- | chrome/test/selenium/selenium_test.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/test/selenium/selenium_test.cc b/chrome/test/selenium/selenium_test.cc index be66b0d..590d996 100644 --- a/chrome/test/selenium/selenium_test.cc +++ b/chrome/test/selenium/selenium_test.cc @@ -12,6 +12,7 @@ #include <list> #include <set> +#include "base/file_path.h" #include "base/file_util.h" #include "base/path_service.h" #include "base/rand_util.h" @@ -101,7 +102,7 @@ class SeleniumTest : public UITest { file_util::AppendToPath(&test_path, L"core"); file_util::AppendToPath(&test_path, L"TestRunner.html"); - GURL test_url(net::FilePathToFileURL(test_path)); + GURL test_url(net::FilePathToFileURL(FilePath::FromWStringHack(test_path))); scoped_ptr<TabProxy> tab(GetActiveTab()); tab->NavigateToURL(test_url); |