| Index: chrome/browser/policy/policy_browsertest.cc
|
| diff --git a/chrome/browser/policy/policy_browsertest.cc b/chrome/browser/policy/policy_browsertest.cc
|
| index 016e70c639af1facda542139109f9b1a7f5df7b7..965f6100caa0c983d67b412cdb03695f691f9b4e 100644
|
| --- a/chrome/browser/policy/policy_browsertest.cc
|
| +++ b/chrome/browser/policy/policy_browsertest.cc
|
| @@ -669,7 +669,7 @@ class PolicyTest : public InProcessBrowserTest {
|
| // is tied to the test instead.
|
| screenshot_taker->AddObserver(&observer_);
|
| ash::Shell::GetInstance()->accelerator_controller()->SetScreenshotDelegate(
|
| - screenshot_taker.PassAs<ash::ScreenshotDelegate>());
|
| + screenshot_taker.Pass());
|
|
|
| SetScreenshotPolicy(enabled);
|
| ash::Shell::GetInstance()->accelerator_controller()->PerformAction(
|
|
|