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

Unified Diff: chrome/test/testing_browser_process.cc

Issue 7129009: Fix ProfileManagerTest.CreateProfileAsync failures on cros. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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
« no previous file with comments | « chrome/browser/profiles/profile_manager_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/testing_browser_process.cc
===================================================================
--- chrome/test/testing_browser_process.cc (revision 88234)
+++ chrome/test/testing_browser_process.cc (working copy)
@@ -237,6 +237,8 @@
}
void TestingBrowserProcess::SetLocalState(PrefService* local_state) {
+ if (!local_state && notification_ui_manager_.get())
+ notification_ui_manager_.reset(); // Used local_state_.
Scott Hess - ex-Googler 2011/06/08 16:43:43 Wouldn't this (potentially) apply in any case wher
jam 2011/06/08 16:48:27 I thought about trying to add fancier checks initi
local_state_ = local_state;
}
« no previous file with comments | « chrome/browser/profiles/profile_manager_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698