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

Unified Diff: chrome/browser/sync/sync_global_error_factory.cc

Issue 2708073002: Removing pre-material design menu setting. (Closed)
Patch Set: Replacing functions by variables Created 3 years, 10 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/sync/sync_global_error_factory.cc
diff --git a/chrome/browser/sync/sync_global_error_factory.cc b/chrome/browser/sync/sync_global_error_factory.cc
index 64fa2c23e1cba26fad0f0f26e9b68023eb653c64..eebf9025582f590b4ec106aa24c9efc222a8aed5 100644
--- a/chrome/browser/sync/sync_global_error_factory.cc
+++ b/chrome/browser/sync/sync_global_error_factory.cc
@@ -59,7 +59,6 @@ KeyedService* SyncGlobalErrorFactory::BuildServiceInstanceFor(
if (!sync_error_controller)
return nullptr;
- return new SyncGlobalError(GlobalErrorServiceFactory::GetForProfile(profile),
- LoginUIServiceFactory::GetForProfile(profile),
+ return new SyncGlobalError(LoginUIServiceFactory::GetForProfile(profile),
sync_error_controller, profile_sync_service);
}

Powered by Google App Engine
This is Rietveld 408576698