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

Unified Diff: webkit/tools/test_shell/listener_leak_test.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
Index: webkit/tools/test_shell/listener_leak_test.cc
===================================================================
--- webkit/tools/test_shell/listener_leak_test.cc (revision 25715)
+++ webkit/tools/test_shell/listener_leak_test.cc (working copy)
@@ -57,7 +57,7 @@
.Append(FILE_PATH_LITERAL("data"))
.Append(FILE_PATH_LITERAL("listener"))
.Append(FILE_PATH_LITERAL("listener_leak1.html"));
- test_shell_->LoadURL(listener_file.ToWStringHack().c_str());
+ test_shell_->LoadFile(listener_file);
test_shell_->WaitTestFinished();
ASSERT_EQ(0, GetNumObjects(log_skip, "EventListenerLeakTestObject1"));
}
@@ -72,7 +72,7 @@
.Append(FILE_PATH_LITERAL("data"))
.Append(FILE_PATH_LITERAL("listener"))
.Append(FILE_PATH_LITERAL("listener_leak2.html"));
- test_shell_->LoadURL(listener_file.ToWStringHack().c_str());
+ test_shell_->LoadFile(listener_file);
test_shell_->WaitTestFinished();
ASSERT_EQ(1, GetNumObjects(log_skip, "EventListenerLeakTestObject2"));
}
« no previous file with comments | « webkit/tools/test_shell/layout_test_controller.cc ('k') | webkit/tools/test_shell/mac/test_shell_webview.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698