Index: chrome/browser/ui/webui/sync_internals_message_handler.cc |
diff --git a/chrome/browser/ui/webui/sync_internals_message_handler.cc b/chrome/browser/ui/webui/sync_internals_message_handler.cc |
index fa21977522d44848d523aafb291e376b59c966f7..996bf4c32da26bed406e36ad70d91a6d1aba69ee 100644 |
--- a/chrome/browser/ui/webui/sync_internals_message_handler.cc |
+++ b/chrome/browser/ui/webui/sync_internals_message_handler.cc |
@@ -221,6 +221,6 @@ void SyncInternalsMessageHandler::SendAboutInfo() { |
// May return NULL (e.g., if sync is disabled on the command line). |
ProfileSyncService* SyncInternalsMessageHandler::GetProfileSyncService() { |
Profile* profile = Profile::FromWebUI(web_ui()); |
- ProfileSyncServiceFactory* factory = ProfileSyncServiceFactory::GetInstance(); |
- return factory->GetForProfile(profile->GetOriginalProfile()); |
+ return ProfileSyncServiceFactory::GetForProfile( |
+ profile->GetOriginalProfile()); |
} |