Chromium Code Reviews| 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; |
| } |