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

Unified Diff: chrome/browser/chromeos/input_method/input_method_persistence_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/chromeos/input_method/input_method_persistence_unittest.cc
diff --git a/chrome/browser/chromeos/input_method/input_method_persistence_unittest.cc b/chrome/browser/chromeos/input_method/input_method_persistence_unittest.cc
index 606ad6faa98a7310f56d8cf3b5c577d9f15ec7e5..0546523bb7067068d9b944e3c1bd283689d090f3 100644
--- a/chrome/browser/chromeos/input_method/input_method_persistence_unittest.cc
+++ b/chrome/browser/chromeos/input_method/input_method_persistence_unittest.cc
@@ -30,9 +30,7 @@ const char kProfileName[] = "input_method_test";
class InputMethodPersistenceTest : public testing::Test {
protected:
InputMethodPersistenceTest()
- : mock_profile_manager_(
- static_cast<TestingBrowserProcess*>(g_browser_process)) {
- }
+ : mock_profile_manager_(TestingBrowserProcess::GetGlobal()) {}
virtual void SetUp() OVERRIDE {
// Set up a profile that will be returned by

Powered by Google App Engine
This is Rietveld 408576698