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

Unified Diff: components/html_viewer/ax_provider_impl_unittest.cc

Issue 1402553002: Don't use base::MessageLoop::{Quit,QuitClosure} in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
Index: components/html_viewer/ax_provider_impl_unittest.cc
diff --git a/components/html_viewer/ax_provider_impl_unittest.cc b/components/html_viewer/ax_provider_impl_unittest.cc
index 5b22ef2c9ec2d6ca3ba9373121f2dc8e3a14b057..ebad0b445ed1135fb5bdf374448fc6c3e1e035ed 100644
--- a/components/html_viewer/ax_provider_impl_unittest.cc
+++ b/components/html_viewer/ax_provider_impl_unittest.cc
@@ -35,7 +35,9 @@ namespace {
class TestWebFrameClient : public WebFrameClient {
public:
~TestWebFrameClient() override {}
- void didStopLoading() override { base::MessageLoop::current()->Quit(); }
+ void didStopLoading() override {
+ base::MessageLoop::current()->QuitWhenIdle();
+ }
};
class TestWebViewClient : public WebViewClient {
« no previous file with comments | « components/history/core/test/history_backend_db_base_test.cc ('k') | components/nacl/broker/nacl_broker_listener.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698