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

Unified Diff: chrome/browser/policy/policy_browsertest.cc

Issue 2083363002: Remove calls to deprecated MessageLoop methods in chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: chrome/browser/policy/policy_browsertest.cc
diff --git a/chrome/browser/policy/policy_browsertest.cc b/chrome/browser/policy/policy_browsertest.cc
index aa06f3126008a900ad718d38becdc23526f6fa82..9d6f176ab51168a7a9737aaae81a55c1cb07627c 100644
--- a/chrome/browser/policy/policy_browsertest.cc
+++ b/chrome/browser/policy/policy_browsertest.cc
@@ -3409,7 +3409,7 @@ IN_PROC_BROWSER_TEST_P(MediaStreamDevicesControllerBrowserTest,
base::Bind(&MediaStreamDevicesControllerBrowserTest::FinishAudioTest,
this));
- base::MessageLoop::current()->Run();
+ base::RunLoop().Run();
}
IN_PROC_BROWSER_TEST_P(MediaStreamDevicesControllerBrowserTest,
@@ -3443,7 +3443,7 @@ IN_PROC_BROWSER_TEST_P(MediaStreamDevicesControllerBrowserTest,
&MediaStreamDevicesControllerBrowserTest::FinishAudioTest,
this));
- base::MessageLoop::current()->Run();
+ base::RunLoop().Run();
}
}
@@ -3466,7 +3466,7 @@ IN_PROC_BROWSER_TEST_P(MediaStreamDevicesControllerBrowserTest,
base::Bind(&MediaStreamDevicesControllerBrowserTest::FinishVideoTest,
this));
- base::MessageLoop::current()->Run();
+ base::RunLoop().Run();
}
IN_PROC_BROWSER_TEST_P(MediaStreamDevicesControllerBrowserTest,
@@ -3499,7 +3499,7 @@ IN_PROC_BROWSER_TEST_P(MediaStreamDevicesControllerBrowserTest,
&MediaStreamDevicesControllerBrowserTest::FinishVideoTest,
this));
- base::MessageLoop::current()->Run();
+ base::RunLoop().Run();
}
}

Powered by Google App Engine
This is Rietveld 408576698