Index: chrome/browser/sessions/base_session_service.cc |
diff --git a/chrome/browser/sessions/base_session_service.cc b/chrome/browser/sessions/base_session_service.cc |
index 64c094c7e4ffe4a887f95006745bfa6a91b69162..afc75d05763da5cf656de5af2fed4217fe933af0 100644 |
--- a/chrome/browser/sessions/base_session_service.cc |
+++ b/chrome/browser/sessions/base_session_service.cc |
@@ -116,8 +116,9 @@ void BaseSessionService::ScheduleCommand(SessionCommand* command) { |
void BaseSessionService::StartSaveTimer() { |
// Don't start a timer when testing (profile == NULL or |
// MessageLoop::current() is NULL). |
- if (MessageLoop::current() && profile() && !weak_factory_.HasWeakPtrs()) { |
- MessageLoop::current()->PostDelayedTask( |
+ if (base::MessageLoop::current() && profile() && |
+ !weak_factory_.HasWeakPtrs()) { |
+ base::MessageLoop::current()->PostDelayedTask( |
FROM_HERE, |
base::Bind(&BaseSessionService::Save, weak_factory_.GetWeakPtr()), |
base::TimeDelta::FromMilliseconds(kSaveDelayMS)); |