Index: chrome/browser/chromeos/login/existing_user_controller_browsertest.cc |
diff --git a/chrome/browser/chromeos/login/existing_user_controller_browsertest.cc b/chrome/browser/chromeos/login/existing_user_controller_browsertest.cc |
index 5cdae179f0469ff401920ea3a0129cf433fd1280..61bab5028788b0507526eba85e0bb634f58a2fdb 100644 |
--- a/chrome/browser/chromeos/login/existing_user_controller_browsertest.cc |
+++ b/chrome/browser/chromeos/login/existing_user_controller_browsertest.cc |
@@ -176,14 +176,14 @@ class ExistingUserControllerTest : public policy::DevicePolicyCrosBrowserTest { |
testing_profile_.get()); |
} |
- virtual void CleanUpOnMainThread() OVERRIDE { |
+ virtual void TearDownOnMainThread() OVERRIDE { |
// ExistingUserController must be deleted before the thread is cleaned up: |
// If there is an outstanding login attempt when ExistingUserController is |
// deleted, its LoginPerformer instance will be deleted, which in turn |
// deletes its OnlineAttemptHost instance. However, OnlineAttemptHost must |
// be deleted on the UI thread. |
existing_user_controller_.reset(); |
- DevicePolicyCrosBrowserTest::InProcessBrowserTest::CleanUpOnMainThread(); |
+ DevicePolicyCrosBrowserTest::InProcessBrowserTest::TearDownOnMainThread(); |
testing_profile_.reset(NULL); |
user_manager_enabler_.reset(); |
} |