Index: chrome/browser/ui/bookmarks/bookmark_prompt_controller_unittest.cc |
diff --git a/chrome/browser/ui/bookmarks/bookmark_prompt_controller_unittest.cc b/chrome/browser/ui/bookmarks/bookmark_prompt_controller_unittest.cc |
index 3b9bcd961a3d1dc9fec05ec004d6b1aeb8eaa539..350fe1a1de80a8d741b7fa6843b590bf7b7afc90 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(); |