summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/engine/download_updates_command.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/sync/engine/download_updates_command.cc')
-rw-r--r--chrome/browser/sync/engine/download_updates_command.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/sync/engine/download_updates_command.cc b/chrome/browser/sync/engine/download_updates_command.cc
index 4677f87..a8d495d 100644
--- a/chrome/browser/sync/engine/download_updates_command.cc
+++ b/chrome/browser/sync/engine/download_updates_command.cc
@@ -67,7 +67,8 @@ void DownloadUpdatesCommand::ExecuteImpl(SyncSession* session) {
get_updates->set_fetch_folders(true);
// Set GetUpdatesMessage.GetUpdatesCallerInfo information.
- get_updates->mutable_caller_info()->set_source(session->TestAndSetSource());
+ get_updates->mutable_caller_info()->set_source(
+ session->TestAndSetSource().first);
get_updates->mutable_caller_info()->set_notifications_enabled(
session->context()->notifications_enabled());