summaryrefslogtreecommitdiffstats
path: root/chrome/browser/unload_uitest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/unload_uitest.cc')
-rw-r--r--chrome/browser/unload_uitest.cc12
1 files changed, 8 insertions, 4 deletions
diff --git a/chrome/browser/unload_uitest.cc b/chrome/browser/unload_uitest.cc
index b79a356..86d0a82 100644
--- a/chrome/browser/unload_uitest.cc
+++ b/chrome/browser/unload_uitest.cc
@@ -123,9 +123,11 @@ class UnloadTest : public UITest {
}
void NavigateToNolistenersFileTwice() {
- NavigateToURL(URLRequestMockHTTPJob::GetMockUrl(L"title2.html"));
+ NavigateToURL(URLRequestMockHTTPJob::GetMockUrl(
+ FilePath(FILE_PATH_LITERAL("title2.html"))));
CheckTitle(L"Title Of Awesomeness");
- NavigateToURL(URLRequestMockHTTPJob::GetMockUrl(L"title2.html"));
+ NavigateToURL(URLRequestMockHTTPJob::GetMockUrl(
+ FilePath(FILE_PATH_LITERAL("title2.html"))));
CheckTitle(L"Title Of Awesomeness");
}
@@ -137,10 +139,12 @@ class UnloadTest : public UITest {
// if we don't sleep here.
PlatformThread::Sleep(400);
NavigateToURLAsync(
- URLRequestMockHTTPJob::GetMockUrl(L"title2.html"));
+ URLRequestMockHTTPJob::GetMockUrl(
+ FilePath(FILE_PATH_LITERAL("title2.html"))));
PlatformThread::Sleep(400);
NavigateToURL(
- URLRequestMockHTTPJob::GetMockUrl(L"title2.html"));
+ URLRequestMockHTTPJob::GetMockUrl(
+ FilePath(FILE_PATH_LITERAL("title2.html"))));
CheckTitle(L"Title Of Awesomeness");
}