Index: chrome_frame/test/chrome_frame_test_utils.cc |
diff --git a/chrome_frame/test/chrome_frame_test_utils.cc b/chrome_frame/test/chrome_frame_test_utils.cc |
index 1348b1af6d34ed23970f971d47051d1559fd8c4d..8544a17e94f12cb3de3b4ea899d2760e24b312b7 100644 |
--- a/chrome_frame/test/chrome_frame_test_utils.cc |
+++ b/chrome_frame/test/chrome_frame_test_utils.cc |
@@ -413,13 +413,6 @@ HRESULT LaunchIEAsComServer(IWebBrowser2** web_browser) { |
return hr; |
} |
-// TODO(joi@chromium.org) Could share this code with chrome_frame_plugin.h |
-FilePath GetProfilePath(const std::wstring& profile_name) { |
- FilePath profile_path; |
- chrome::GetChromeFrameUserDataDirectory(&profile_path); |
- return profile_path.Append(profile_name); |
-} |
- |
std::wstring GetExeVersion(const std::wstring& exe_path) { |
scoped_ptr<FileVersionInfo> ie_version_info( |
FileVersionInfo::CreateFileVersionInfo(FilePath(exe_path))); |
@@ -458,7 +451,7 @@ FilePath GetProfilePathForIE() { |
profile_path = GetIETemporaryFilesFolder(); |
profile_path = profile_path.Append(L"Google Chrome Frame"); |
} else { |
- profile_path = GetProfilePath(kIEProfileName); |
+ GetChromeFrameProfilePath(kIEProfileName, &profile_path); |
} |
return profile_path; |
} |