| Index: chrome/browser/sync/glue/session_sync_test_helper.cc
|
| diff --git a/chrome/browser/sync/glue/session_sync_test_helper.cc b/chrome/browser/sync/glue/session_sync_test_helper.cc
|
| index e3a9f560d8e39868fac0daab5aa6f06488a66403..34f2dd2a814b5bc0d8cf5d239f2f8c722ae61284 100644
|
| --- a/chrome/browser/sync/glue/session_sync_test_helper.cc
|
| +++ b/chrome/browser/sync/glue/session_sync_test_helper.cc
|
| @@ -98,8 +98,17 @@ void SessionSyncTestHelper::BuildTabSpecifics(
|
| int window_id,
|
| int tab_id,
|
| sync_pb::SessionSpecifics* tab_base) {
|
| + BuildTabSpecifics(tag, window_id, tab_id, ++max_tab_node_id_, tab_base);
|
| +}
|
| +
|
| +void SessionSyncTestHelper::BuildTabSpecifics(
|
| + const std::string& tag,
|
| + int window_id,
|
| + int tab_id,
|
| + int tab_node_id,
|
| + sync_pb::SessionSpecifics* tab_base) {
|
| tab_base->set_session_tag(tag);
|
| - tab_base->set_tab_node_id(++max_tab_node_id_);
|
| + tab_base->set_tab_node_id(tab_node_id);
|
| sync_pb::SessionTab* tab = tab_base->mutable_tab();
|
| tab->set_tab_id(tab_id);
|
| tab->set_tab_visual_index(1);
|
|
|