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

Unified Diff: chrome/browser/themes/theme_syncable_service_unittest.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/themes/theme_syncable_service_unittest.cc
diff --git a/chrome/browser/themes/theme_syncable_service_unittest.cc b/chrome/browser/themes/theme_syncable_service_unittest.cc
index e8714d9159c9a1065ca5ece2b7cb51501f10e3bb..44cb4233e58c594478d5adfa1d0aa87acbaa5c06 100644
--- a/chrome/browser/themes/theme_syncable_service_unittest.cc
+++ b/chrome/browser/themes/theme_syncable_service_unittest.cc
@@ -10,6 +10,7 @@
#include "base/compiler_specific.h"
#include "base/files/file_path.h"
#include "base/memory/ptr_util.h"
+#include "base/run_loop.h"
#include "base/time/time.h"
#include "build/build_config.h"
#include "chrome/browser/extensions/extension_service.h"
@@ -179,7 +180,7 @@ class ThemeSyncableServiceTest : public testing::Test {
void TearDown() override {
profile_.reset();
- loop_.RunUntilIdle();
+ base::RunLoop().RunUntilIdle();
}
void SetUpExtension() {
@@ -191,7 +192,7 @@ class ThemeSyncableServiceTest : public testing::Test {
&command_line, base::FilePath(kExtensionFilePath), false);
EXPECT_TRUE(service->extensions_enabled());
service->Init();
- loop_.RunUntilIdle();
+ base::RunLoop().RunUntilIdle();
// Create and add custom theme extension so the ThemeSyncableService can
// find it.

Powered by Google App Engine
This is Rietveld 408576698