| Index: chrome/browser/sync/test/integration/performance/sessions_sync_perf_test.cc
|
| diff --git a/chrome/browser/sync/test/integration/performance/sessions_sync_perf_test.cc b/chrome/browser/sync/test/integration/performance/sessions_sync_perf_test.cc
|
| index 8b3e79bd6486d481f3199269897b49d641aa8256..4081065f60e848f399bb5dd122799ed6fc155c28 100644
|
| --- a/chrome/browser/sync/test/integration/performance/sessions_sync_perf_test.cc
|
| +++ b/chrome/browser/sync/test/integration/performance/sessions_sync_perf_test.cc
|
| @@ -12,6 +12,8 @@
|
| using sessions_helper::GetLocalSession;
|
| using sessions_helper::GetSessionData;
|
| using sessions_helper::OpenMultipleTabs;
|
| +using sessions_helper::SyncedSessionVector;
|
| +using sessions_helper::SessionWindowMap;
|
| using sessions_helper::WaitForTabsToLoad;
|
|
|
| static const int kNumTabs = 150;
|
| @@ -89,10 +91,10 @@ int SessionsSyncPerfTest::GetTabCount(int profile) {
|
| sessions.push_back(local_session);
|
| for (SyncedSessionVector::const_iterator it = sessions.begin();
|
| it != sessions.end(); ++it) {
|
| - for (SessionWindowVector::const_iterator win_it = (*it)->windows.begin();
|
| + for (SessionWindowMap::const_iterator win_it = (*it)->windows.begin();
|
| win_it != (*it)->windows.end();
|
| ++win_it) {
|
| - tab_count += (*win_it)->tabs.size();
|
| + tab_count += win_it->second->tabs.size();
|
| }
|
| }
|
| return tab_count;
|
|
|