diff options
Diffstat (limited to 'chrome_frame/test')
-rw-r--r-- | chrome_frame/test/reliability/page_load_test.cc | 3 | ||||
-rw-r--r-- | chrome_frame/test/util_unittests.cc | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/chrome_frame/test/reliability/page_load_test.cc b/chrome_frame/test/reliability/page_load_test.cc index 3afdadf..adc681e 100644 --- a/chrome_frame/test/reliability/page_load_test.cc +++ b/chrome_frame/test/reliability/page_load_test.cc @@ -158,7 +158,8 @@ class PageLoadTest : public testing::Test { // Check file version info for chrome dll. scoped_ptr<FileVersionInfo> file_info; #if defined(OS_WIN) - file_info.reset(FileVersionInfo::CreateFileVersionInfo(kChromeDll)); + file_info.reset( + FileVersionInfo::CreateFileVersionInfo(FilePath(kChromeDll))); #elif defined(OS_LINUX) || defined(OS_MACOSX) // TODO(fmeawad): the version retrieved here belongs to the test module and // not the chrome binary, need to be changed to chrome binary instead. diff --git a/chrome_frame/test/util_unittests.cc b/chrome_frame/test/util_unittests.cc index ac4bccf..9cdf9f6 100644 --- a/chrome_frame/test/util_unittests.cc +++ b/chrome_frame/test/util_unittests.cc @@ -58,7 +58,7 @@ TEST_F(UtilTests, GetModuleVersionTest) { // Use the method that goes to disk scoped_ptr<FileVersionInfo> base_info( - FileVersionInfo::CreateFileVersionInfo(path)); + FileVersionInfo::CreateFileVersionInfo(FilePath(path))); EXPECT_TRUE(base_info.get() != NULL); // Use the method that doesn't go to disk |