summaryrefslogtreecommitdiffstats
path: root/chrome/test/ui_test_utils.cc
diff options
context:
space:
mode:
authorbeaudoin@chromium.org <beaudoin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-21 14:43:51 +0000
committerbeaudoin@chromium.org <beaudoin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-21 14:43:51 +0000
commitf5d978cfcc87e29ac3284d9c518770d24c529699 (patch)
treef10f4a851d5a86499792ba525522456ce2da1b42 /chrome/test/ui_test_utils.cc
parent4f27ff905f70604752d3365d813405a5122282de (diff)
downloadchromium_src-f5d978cfcc87e29ac3284d9c518770d24c529699.zip
chromium_src-f5d978cfcc87e29ac3284d9c518770d24c529699.tar.gz
chromium_src-f5d978cfcc87e29ac3284d9c518770d24c529699.tar.bz2
Ensures history tab displays a throbber when searching.
When performing a long running search in the history, turn on the tab thobber to indicate that an operation is in progress. BUG=14730 TEST=Ensure you have a large browsing history, go to chrome://history, search for something, notice the throbber come on. Review URL: http://codereview.chromium.org/7399007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93392 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/ui_test_utils.cc')
-rw-r--r--chrome/test/ui_test_utils.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/test/ui_test_utils.cc b/chrome/test/ui_test_utils.cc
index 4031dfb..b899034 100644
--- a/chrome/test/ui_test_utils.cc
+++ b/chrome/test/ui_test_utils.cc
@@ -356,7 +356,7 @@ void WaitForBrowserActionUpdated(ExtensionAction* browser_action) {
void WaitForLoadStop(TabContents* tab) {
// In many cases, the load may have finished before we get here. Only wait if
// the tab still has a pending navigation.
- if (!tab->is_loading() && !tab->render_manager()->pending_render_view_host())
+ if (!tab->IsLoading() && !tab->render_manager()->pending_render_view_host())
return;
TestNotificationObserver observer;
RegisterAndWait(&observer, content::NOTIFICATION_LOAD_STOP,