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

Unified Diff: content/public/test/browser_test_utils.cc

Issue 16831021: Convert asynchronous closure test in cr.ui framework to a browser test. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge trunk Created 7 years, 6 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 | « chrome/test/data/webui/webui_resource_test.js ('k') | ui/webui/resources/js/cr/link_controller_test.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/browser_test_utils.cc
diff --git a/content/public/test/browser_test_utils.cc b/content/public/test/browser_test_utils.cc
index b7db17d055591c3e5ba6607ecd490f34cdf4b86c..bfa37adee1a606c6f5fd0dd91529f1bf57fa5e48 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;
}
« no previous file with comments | « chrome/test/data/webui/webui_resource_test.js ('k') | ui/webui/resources/js/cr/link_controller_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698