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

Unified Diff: ui/events/platform/platform_event_source_unittest.cc

Issue 2211473003: Remove calls to deprecated MessageLoop methods on Windows and Linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CR Created 4 years, 4 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: ui/events/platform/platform_event_source_unittest.cc
diff --git a/ui/events/platform/platform_event_source_unittest.cc b/ui/events/platform/platform_event_source_unittest.cc
index 45384a83583a5797bba8704e9caf4b48ac83154a..d80d4d0e5538ea52ca3214444b5842d323982a9d 100644
--- a/ui/events/platform/platform_event_source_unittest.cc
+++ b/ui/events/platform/platform_event_source_unittest.cc
@@ -502,7 +502,7 @@ class PlatformEventTestWithMessageLoop : public PlatformEventTest {
message_loop_.task_runner()->PostTask(
FROM_HERE, base::Bind(&PlatformEventTestWithMessageLoop::RunTest,
base::Unretained(this)));
- message_loop_.Run();
+ base::RunLoop().Run();
}
protected:

Powered by Google App Engine
This is Rietveld 408576698