summaryrefslogtreecommitdiffstats
path: root/content/public/test/browser_test_utils.cc
diff options
context:
space:
mode:
authorkevers@chromium.org <kevers@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-21 22:03:52 +0000
committerkevers@chromium.org <kevers@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-21 22:03:52 +0000
commiteb6a392db4d56ec1efe9a2e5d48a99412877197f (patch)
tree091eafb3f8255f26c3d8b908a173b56acdbdd0c0 /content/public/test/browser_test_utils.cc
parent83bcc96ffb9d9454d7dedc5e97c64c598007f3c6 (diff)
downloadchromium_src-eb6a392db4d56ec1efe9a2e5d48a99412877197f.zip
chromium_src-eb6a392db4d56ec1efe9a2e5d48a99412877197f.tar.gz
chromium_src-eb6a392db4d56ec1efe9a2e5d48a99412877197f.tar.bz2
Convert asynchronous closure test in cr.ui framework to a browser test.
BUG=249104 TEST=WebUIResourceBrowserTest Review URL: https://chromiumcodereview.appspot.com/16831021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207929 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/public/test/browser_test_utils.cc')
-rw-r--r--content/public/test/browser_test_utils.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/content/public/test/browser_test_utils.cc b/content/public/test/browser_test_utils.cc
index b7db17d..bfa37ad 100644
--- a/content/public/test/browser_test_utils.cc
+++ b/content/public/test/browser_test_utils.cc
@@ -506,6 +506,7 @@ bool DOMMessageQueue::WaitForMessage(std::string* message) {
return false;
if (message)
*message = message_queue_.front();
+ message_queue_.pop();
return true;
}