Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2762)

Unified Diff: chrome/browser/ui/chrome_select_file_policy_unittest.cc

Issue 11759019: Update other unittests to use newly added TestingBrowserProcess::GetGlobal(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: simpler codez Created 7 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/chrome_select_file_policy_unittest.cc
diff --git a/chrome/browser/ui/chrome_select_file_policy_unittest.cc b/chrome/browser/ui/chrome_select_file_policy_unittest.cc
index 03c3e4076ae40d0236dfcd760dfad5d8383f063e..c6d220d83ab6d14211d6278cb54e339e47f9d70b 100644
--- a/chrome/browser/ui/chrome_select_file_policy_unittest.cc
+++ b/chrome/browser/ui/chrome_select_file_policy_unittest.cc
@@ -93,7 +93,7 @@ TEST_F(ChromeSelectFilePolicyTest, MAYBE_ExpectAsynchronousListenerCall) {
content::TestBrowserThread ui_thread(BrowserThread::UI, &message_loop);
ScopedTestingLocalState local_state(
- static_cast<TestingBrowserProcess*>(g_browser_process));
+ TestingBrowserProcess::GetGlobal());
scoped_ptr<FileSelectionUser> file_selection_user(new FileSelectionUser());

Powered by Google App Engine
This is Rietveld 408576698