Index: trunk/src/chrome/browser/chromeos/login/users/fake_user_manager.cc |
=================================================================== |
--- trunk/src/chrome/browser/chromeos/login/users/fake_user_manager.cc (revision 273797) |
+++ trunk/src/chrome/browser/chromeos/login/users/fake_user_manager.cc (working copy) |
@@ -153,11 +153,6 @@ |
} |
const User* FakeUserManager::FindUser(const std::string& email) const { |
- const UserList& users = GetUsers(); |
- for (UserList::const_iterator it = users.begin(); it != users.end(); ++it) { |
- if ((*it)->email() == email) |
- return *it; |
- } |
return NULL; |
} |