Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6881)

Unified Diff: chrome/browser/sessions/session_restore.cc

Issue 9121064: Cleanup: Remove more uses of Browser::tabstrip_model(). (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sessions/session_restore.cc
===================================================================
--- chrome/browser/sessions/session_restore.cc (revision 120097)
+++ chrome/browser/sessions/session_restore.cc (working copy)
@@ -7,7 +7,7 @@
#include <algorithm>
#include <list>
#include <set>
-#include <vector>
+#include <string>
#include "base/bind.h"
#include "base/bind_helpers.h"
@@ -811,7 +811,7 @@
SessionServiceFactory::GetForProfile(profile_);
for (int i = initial_count; i < browser->tab_count(); ++i)
session_service->TabRestored(browser->GetTabContentsWrapperAt(i),
- browser->tabstrip_model()->IsTabPinned(i));
+ browser->IsTabPinned(i));
}
// The profile to create the sessions for.
« no previous file with comments | « chrome/browser/automation/testing_automation_provider.cc ('k') | chrome/browser/sessions/session_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698