diff options
author | dbeam@chromium.org <dbeam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-04 20:41:22 +0000 |
---|---|---|
committer | dbeam@chromium.org <dbeam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-04 20:41:22 +0000 |
commit | c494d08784a4a733765a98dc726668ed9f32b4db (patch) | |
tree | 6d7c69e515f888d2390a2ad0b507e30078418905 /chrome/browser/printing/cloud_print | |
parent | 54fc973c13c32ac6777efb4c5219ccc33b12675f (diff) | |
download | chromium_src-c494d08784a4a733765a98dc726668ed9f32b4db.zip chromium_src-c494d08784a4a733765a98dc726668ed9f32b4db.tar.gz chromium_src-c494d08784a4a733765a98dc726668ed9f32b4db.tar.bz2 |
Update other unittests to use newly added TestingBrowserProcess::GetGlobal().
R=jcivelli@chromium.org,rsesek@chromium.org,thestig@chromium.org
BUG=None
TEST=green tests
Review URL: https://chromiumcodereview.appspot.com/11759019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175189 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/printing/cloud_print')
-rw-r--r-- | chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc b/chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc index 61cb2b8..321cc4d 100644 --- a/chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc +++ b/chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc @@ -463,7 +463,7 @@ TEST_F(CloudPrintProxyPolicyStartupTest, StartBrowserWithoutPolicy) { Launch("CloudPrintMockService_StartEnabledWaitForQuit"); TestingBrowserProcess* browser_process = - static_cast<TestingBrowserProcess*>(g_browser_process); + TestingBrowserProcess::GetGlobal(); TestingProfileManager profile_manager(browser_process); ASSERT_TRUE(profile_manager.SetUp()); @@ -503,7 +503,7 @@ TEST_F(CloudPrintProxyPolicyStartupTest, StartBrowserWithPolicy) { Launch("CloudPrintMockService_StartEnabledExpectDisabled"); TestingBrowserProcess* browser_process = - static_cast<TestingBrowserProcess*>(g_browser_process); + TestingBrowserProcess::GetGlobal(); TestingProfileManager profile_manager(browser_process); ASSERT_TRUE(profile_manager.SetUp()); |