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

Unified Diff: chrome/browser/profiles/off_the_record_profile_impl_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: 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/profiles/off_the_record_profile_impl_unittest.cc
diff --git a/chrome/browser/profiles/off_the_record_profile_impl_unittest.cc b/chrome/browser/profiles/off_the_record_profile_impl_unittest.cc
index 7586981154928977c3286bbf5a995a91b199e0d1..69e11048dbc70b5ba35451432df85f2b440e21aa 100644
--- a/chrome/browser/profiles/off_the_record_profile_impl_unittest.cc
+++ b/chrome/browser/profiles/off_the_record_profile_impl_unittest.cc
@@ -102,7 +102,7 @@ class OffTheRecordProfileImplTest : public BrowserWithTestWindowTest {
private:
TestingBrowserProcess* browser_process() {
- return static_cast<TestingBrowserProcess*>(g_browser_process);
+ return TestingBrowserProcess::GetGlobal();
}
scoped_ptr<PrefServiceSimple> prefs_;

Powered by Google App Engine
This is Rietveld 408576698