Index: chrome/browser/sessions/session_backend.cc |
diff --git a/chrome/browser/sessions/session_backend.cc b/chrome/browser/sessions/session_backend.cc |
index a74ce6e8d2d9a8257b710c3e035f65aa385ea155..39ec9b31f87007c0bdf2aec912f95dd3e6c1498c 100644 |
--- a/chrome/browser/sessions/session_backend.cc |
+++ b/chrome/browser/sessions/session_backend.cc |
@@ -104,9 +104,9 @@ bool SessionFileReader::Read(BaseSessionService::SessionType type, |
ScopedVector<SessionCommand> read_commands; |
SessionCommand* command; |
while ((command = ReadCommand()) && !errored_) |
- read_commands->push_back(command); |
+ read_commands.push_back(command); |
if (!errored_) |
- read_commands->swap(*commands); |
+ read_commands.swap(*commands); |
if (type == BaseSessionService::TAB_RESTORE) { |
UMA_HISTOGRAM_TIMES("TabRestore.read_session_file_time", |
TimeTicks::Now() - start_time); |