Index: chrome/test/testing_browser_process.cc |
diff --git a/chrome/test/testing_browser_process.cc b/chrome/test/testing_browser_process.cc |
index 86332aecf0d81d8f6940b9c274e91fd32fc5a09d..a6607ab1dcddc39fe122c636b0d8b28b552a4060 100644 |
--- a/chrome/test/testing_browser_process.cc |
+++ b/chrome/test/testing_browser_process.cc |
@@ -77,9 +77,10 @@ PrefService* TestingBrowserProcess::local_state() { |
policy::BrowserPolicyConnector* |
TestingBrowserProcess::browser_policy_connector() { |
- if (!browser_policy_connector_.get()) |
+ if (!browser_policy_connector_.get()) { |
browser_policy_connector_.reset( |
policy::BrowserPolicyConnector::CreateForTests()); |
+ } |
return browser_policy_connector_.get(); |
} |