| Index: chrome/test/webdriver/session_manager.cc
|
| diff --git a/chrome/test/webdriver/session_manager.cc b/chrome/test/webdriver/session_manager.cc
|
| index 93097ee6c68c8cdb360269599bfbf06804904955..40794437d17a451943fca1a7780f4b55dd882c84 100644
|
| --- a/chrome/test/webdriver/session_manager.cc
|
| +++ b/chrome/test/webdriver/session_manager.cc
|
| @@ -45,10 +45,8 @@ bool SessionManager::Remove(const std::string& id) {
|
| Session* session;
|
| base::AutoLock lock(map_lock_);
|
| it = map_.find(id);
|
| - if (it == map_.end()) {
|
| - VLOG(1) << "No such session with ID " << id;
|
| + if (it == map_.end())
|
| return false;
|
| - }
|
| session = it->second;
|
| map_.erase(it);
|
| return true;
|
| @@ -58,10 +56,8 @@ Session* SessionManager::GetSession(const std::string& id) const {
|
| std::map<std::string, Session*>::const_iterator it;
|
| base::AutoLock lock(map_lock_);
|
| it = map_.find(id);
|
| - if (it == map_.end()) {
|
| - VLOG(1) << "No such session with ID " << id;
|
| + if (it == map_.end())
|
| return NULL;
|
| - }
|
| return it->second;
|
| }
|
|
|
|
|