summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tabs
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/tabs')
-rw-r--r--chrome/browser/tabs/tab_strip_model_unittest.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/tabs/tab_strip_model_unittest.cc b/chrome/browser/tabs/tab_strip_model_unittest.cc
index ef536a0..38467b0 100644
--- a/chrome/browser/tabs/tab_strip_model_unittest.cc
+++ b/chrome/browser/tabs/tab_strip_model_unittest.cc
@@ -105,7 +105,8 @@ class TabStripModelTest : public testing::Test {
profile_path_ = test_dir_;
file_util::AppendToPath(&profile_path_, L"New Profile");
- profile_ = ProfileManager::CreateProfile(profile_path_,
+ profile_ = ProfileManager::CreateProfile(
+ FilePath::FromWStringHack(profile_path_),
L"New Profile", L"new-profile", L"");
ASSERT_TRUE(profile_);
pm_.AddProfile(profile_);
@@ -115,7 +116,7 @@ class TabStripModelTest : public testing::Test {
TabContents::RegisterFactory(kHTTPTabContentsType, NULL);
// Removes a profile from the set of currently-loaded profiles.
- pm_.RemoveProfileByPath(profile_path_);
+ pm_.RemoveProfileByPath(FilePath::FromWStringHack(profile_path_));
// Clean up test directory
ASSERT_TRUE(file_util::Delete(test_dir_, true));