Index: chrome/browser/sync/glue/session_model_associator.cc |
diff --git a/chrome/browser/sync/glue/session_model_associator.cc b/chrome/browser/sync/glue/session_model_associator.cc |
index 8d6f54e95e5e2b7920cbea7ed3ac6213f3d4d60c..389cb236516a5b4f71eb4006adbbc6bcf4c55cf3 100644 |
--- a/chrome/browser/sync/glue/session_model_associator.cc |
+++ b/chrome/browser/sync/glue/session_model_associator.cc |
@@ -554,7 +554,8 @@ void SessionModelAssociator::InitializeCurrentMachineTag( |
tab_pool_.set_machine_tag(current_machine_tag_); |
} |
-void SessionModelAssociator::OnSessionNameInitialized(const std::string name) { |
+void SessionModelAssociator::OnSessionNameInitialized( |
+ const std::string& name) { |
DCHECK(CalledOnValidThread()); |
// Only use the default machine name if it hasn't already been set. |
if (current_session_name_.empty()) |