summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views
diff options
context:
space:
mode:
authorfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-09 18:15:52 +0000
committerfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-09 18:15:52 +0000
commitef3b0753872e17d4fd6744e40be5cd7a62a63a0d (patch)
treee6eabc7e5ec0a243b7a3888d548bf64e6c3bf24f /chrome/browser/views
parentdb5b9b462372aaffcfea36a95790e6f20f4cacc5 (diff)
downloadchromium_src-ef3b0753872e17d4fd6744e40be5cd7a62a63a0d.zip
chromium_src-ef3b0753872e17d4fd6744e40be5cd7a62a63a0d.tar.gz
chromium_src-ef3b0753872e17d4fd6744e40be5cd7a62a63a0d.tar.bz2
Try one other thing temporarily to try to determine cause for a flaky test.
TBR=jcampan BUG=16447 TEST=This is changing a test Review URL: http://codereview.chromium.org/376024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31446 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views')
-rw-r--r--chrome/browser/views/find_bar_host_browsertest.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/browser/views/find_bar_host_browsertest.cc b/chrome/browser/views/find_bar_host_browsertest.cc
index a4bdf60..a341d38 100644
--- a/chrome/browser/views/find_bar_host_browsertest.cc
+++ b/chrome/browser/views/find_bar_host_browsertest.cc
@@ -566,11 +566,15 @@ IN_PROC_BROWSER_TEST_F(FindInPageControllerTest,
if (start_position.x() == position.x()) {
// Failure case. Try to gather more data.
std::string debug_msg = "Position check failed once. ";
+
+ // First see if flushing the message loop has any effect.
+ MessageLoop::current()->RunAllPending();
+
if (!GetFindBarWindowInfo(&position, &fully_visible)) {
debug_msg += "Get failed. ";
} else {
if (start_position.x() == position.x())
- debug_msg += "Still the same. ";
+ debug_msg += "Position check failed again. ";
else
debug_msg += "They now differ. ";
}