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

Unified Diff: chrome/browser/web_resource/promo_resource_service_mobile_ntp_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/web_resource/promo_resource_service_mobile_ntp_unittest.cc
diff --git a/chrome/browser/web_resource/promo_resource_service_mobile_ntp_unittest.cc b/chrome/browser/web_resource/promo_resource_service_mobile_ntp_unittest.cc
index 89c7488f888d9722fbf53fcefce5b2005392232d..d2e9c443da2c80efd8568289b09fc3a1ca358a8c 100644
--- a/chrome/browser/web_resource/promo_resource_service_mobile_ntp_unittest.cc
+++ b/chrome/browser/web_resource/promo_resource_service_mobile_ntp_unittest.cc
@@ -29,7 +29,7 @@
class PromoResourceServiceMobileNtpTest : public testing::Test {
public:
PromoResourceServiceMobileNtpTest()
- : local_state_(static_cast<TestingBrowserProcess*>(g_browser_process)),
+ : local_state_(TestingBrowserProcess::GetGlobal()),
web_resource_service_(new PromoResourceService(&profile_)) {
}

Powered by Google App Engine
This is Rietveld 408576698