| Index: chrome/browser/policy/policy_browsertest.cc
|
| diff --git a/chrome/browser/policy/policy_browsertest.cc b/chrome/browser/policy/policy_browsertest.cc
|
| index 36d5954076efa0bd05036b028b2e68f7f74314f4..89fdef375699a7edda31c78a6bd0d047938e1f78 100644
|
| --- a/chrome/browser/policy/policy_browsertest.cc
|
| +++ b/chrome/browser/policy/policy_browsertest.cc
|
| @@ -1370,7 +1370,8 @@ IN_PROC_BROWSER_TEST_F(PolicyTest, DeveloperToolsDisabled) {
|
| POLICY_SCOPE_USER, base::Value::CreateBooleanValue(true), NULL);
|
| content::WindowedNotificationObserver close_observer(
|
| content::NOTIFICATION_WEB_CONTENTS_DESTROYED,
|
| - content::Source<content::WebContents>(devtools_window->web_contents()));
|
| + content::Source<content::WebContents>(
|
| + devtools_window->web_contents_for_test()));
|
| UpdateProviderPolicy(policies);
|
| // wait for devtools close
|
| close_observer.Wait();
|
|
|