summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/webui/sync_internals_message_handler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/webui/sync_internals_message_handler.cc')
-rw-r--r--chrome/browser/ui/webui/sync_internals_message_handler.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/ui/webui/sync_internals_message_handler.cc b/chrome/browser/ui/webui/sync_internals_message_handler.cc
index fa21977..996bf4c 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());
}