| Index: chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc
|
| diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc
|
| index 77c0344a612642f52a1fa09402f3ed0e7c3efca9..4b4d53623edd74fa26737e508d334a9289782fd6 100644
|
| --- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc
|
| +++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc
|
| @@ -942,6 +942,10 @@ class MultiProfileMultiBrowserShelfLayoutChromeLauncherControllerTest
|
| created_profiles_.erase(it);
|
| }
|
|
|
| + virtual views::ViewsDelegate* CreateViewsDelegate() OVERRIDE {
|
| + return new TestViewsDelegateForAppTest;
|
| + }
|
| +
|
| private:
|
| typedef std::map<Profile*, std::string> ProfileToNameMap;
|
| TestingProfileManager* profile_manager() { return profile_manager_.get(); }
|
| @@ -2333,9 +2337,6 @@ TEST_F(MultiProfileMultiBrowserShelfLayoutChromeLauncherControllerTest,
|
| TEST_F(MultiProfileMultiBrowserShelfLayoutChromeLauncherControllerTest,
|
| V2AppHandlingTwoUsers) {
|
| InitLauncherController();
|
| - // We need to create a dummy views delegate to be able to create a V2 app.
|
| - scoped_ptr<TestViewsDelegateForAppTest> views_delegate(
|
| - new TestViewsDelegateForAppTest());
|
| // Create a profile for our second user (will be destroyed by the framework).
|
| TestingProfile* profile2 = CreateMultiUserProfile("user2");
|
| // Check that there is a browser and a app launcher.
|
| @@ -2360,9 +2361,6 @@ TEST_F(MultiProfileMultiBrowserShelfLayoutChromeLauncherControllerTest,
|
| TEST_F(MultiProfileMultiBrowserShelfLayoutChromeLauncherControllerTest,
|
| V2AppHandlingTwoUsersEdgeCases) {
|
| InitLauncherController();
|
| - // We need to create a dummy views delegate to be able to create a V2 app.
|
| - scoped_ptr<TestViewsDelegateForAppTest> views_delegate(
|
| - new TestViewsDelegateForAppTest());
|
| // Create a profile for our second user (will be destroyed by the framework).
|
| TestingProfile* profile2 = CreateMultiUserProfile("user2");
|
| // Check that there is a browser and a app launcher.
|
|
|