Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(224)

Unified Diff: webkit/glue/dom_operations_unittest.cc

Issue 200054: Hook up WebFrameClient, replacing many WebViewDelegate methods.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/cpp_bound_class_unittest.cc ('k') | webkit/glue/dom_serializer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/dom_operations_unittest.cc
===================================================================
--- webkit/glue/dom_operations_unittest.cc (revision 25715)
+++ webkit/glue/dom_operations_unittest.cc (working copy)
@@ -41,8 +41,7 @@
GURL file_url = net::FilePathToFileURL(page_file_path);
// Load the test file.
test_shell_->ResetTestController();
- std::wstring file_wurl = ASCIIToWide(file_url.spec());
- test_shell_->LoadURL(file_wurl.c_str());
+ test_shell_->LoadURL(file_url);
test_shell_->WaitTestFinished();
// Get all savable resource links for the page.
std::vector<GURL> resources_list;
@@ -52,9 +51,8 @@
&referrers_list,
&frames_list);
- GURL main_page_gurl(WideToUTF8(file_wurl));
ASSERT_TRUE(webkit_glue::GetAllSavableResourceLinksForCurrentPage(
- test_shell_->webView(), main_page_gurl, &result));
+ test_shell_->webView(), file_url, &result));
// Check all links of sub-resource
for (std::vector<GURL>::const_iterator cit = resources_list.begin();
cit != resources_list.end(); ++cit) {
« no previous file with comments | « webkit/glue/cpp_bound_class_unittest.cc ('k') | webkit/glue/dom_serializer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698