diff options
Diffstat (limited to 'chrome/browser/ui/bookmarks/bookmark_prompt_controller_unittest.cc')
-rw-r--r-- | chrome/browser/ui/bookmarks/bookmark_prompt_controller_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/ui/bookmarks/bookmark_prompt_controller_unittest.cc b/chrome/browser/ui/bookmarks/bookmark_prompt_controller_unittest.cc index 3b9bcd9..350fe1a 100644 --- a/chrome/browser/ui/bookmarks/bookmark_prompt_controller_unittest.cc +++ b/chrome/browser/ui/bookmarks/bookmark_prompt_controller_unittest.cc @@ -62,7 +62,7 @@ class BookmarkPromptControllerTest : public BrowserWithTestWindowTest { virtual void SetUp() OVERRIDE { set_window(new MyTestBrowserWindow); - static_cast<TestingBrowserProcess*>(g_browser_process)-> + TestingBrowserProcess::GetGlobal()-> SetBookmarkPromptController(new BookmarkPromptController); BrowserWithTestWindowTest::SetUp(); static_cast<TestingProfile*>(browser()->profile())-> @@ -74,7 +74,7 @@ class BookmarkPromptControllerTest : public BrowserWithTestWindowTest { } virtual void TearDown() OVERRIDE { - static_cast<TestingBrowserProcess*>(g_browser_process)-> + TestingBrowserProcess::GetGlobal()-> SetBookmarkPromptController(NULL); static_cast<TestingProfile*>(browser()->profile())-> DestroyHistoryService(); |