Index: chrome/browser/sync/test/integration/sessions_helper.cc |
diff --git a/chrome/browser/sync/test/integration/sessions_helper.cc b/chrome/browser/sync/test/integration/sessions_helper.cc |
index d8ecce4a042f4c9a0498cb14efe360f9015b48b5..3706b4796eb94e9b2822cd86c2226ce16994baee 100644 |
--- a/chrome/browser/sync/test/integration/sessions_helper.cc |
+++ b/chrome/browser/sync/test/integration/sessions_helper.cc |
@@ -428,7 +428,7 @@ bool AwaitCheckForeignSessionsAgainst( |
return !checker.TimedOut(); |
} |
-void DeleteForeignSession(int index, std::string session_tag) { |
+void DeleteForeignSession(int index, const std::string& session_tag) { |
ProfileSyncServiceFactory::GetInstance()->GetForProfile( |
test()->GetProfile(index))-> |
GetOpenTabsUIDelegate()->DeleteForeignSession(session_tag); |