From f5d978cfcc87e29ac3284d9c518770d24c529699 Mon Sep 17 00:00:00 2001
From: "beaudoin@chromium.org"
 <beaudoin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Date: Thu, 21 Jul 2011 14:43:51 +0000
Subject: 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
---
 chrome/test/ui_test_utils.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'chrome/test/ui_test_utils.cc')

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,
-- 
cgit v1.1