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

Unified Diff: webkit/tools/test_shell/test_shell_gtk.cc

Issue 255042: Reverting 27711. (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/tools/test_shell/mac/webview_host.mm ('k') | webkit/tools/test_shell/test_shell_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/test_shell/test_shell_gtk.cc
===================================================================
--- webkit/tools/test_shell/test_shell_gtk.cc (revision 27750)
+++ webkit/tools/test_shell/test_shell_gtk.cc (working copy)
@@ -88,7 +88,7 @@
// Callback for when you click the stop button.
void StopButtonClicked(GtkButton* button, TestShell* shell) {
- shell->webView()->StopLoading();
+ shell->webView()->mainFrame()->stopLoading();
}
// Callback for when you click the reload button.
@@ -534,7 +534,7 @@
shell->m_focusedWidgetHost = NULL;
// Make sure the previous load is stopped.
- shell->webView()->StopLoading();
+ shell->webView()->mainFrame()->stopLoading();
shell->navigation_controller()->Reset();
// Clean up state between test runs.
« no previous file with comments | « webkit/tools/test_shell/mac/webview_host.mm ('k') | webkit/tools/test_shell/test_shell_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698