| Index: content/browser/screen_orientation/screen_orientation_provider_unittest.cc
|
| diff --git a/content/browser/screen_orientation/screen_orientation_provider_unittest.cc b/content/browser/screen_orientation/screen_orientation_provider_unittest.cc
|
| index ba44f6f0ef0a15949162b2af93f5fab3327c1b5c..2a7a4e5410e9cccaf1af818005f128cde669840d 100644
|
| --- a/content/browser/screen_orientation/screen_orientation_provider_unittest.cc
|
| +++ b/content/browser/screen_orientation/screen_orientation_provider_unittest.cc
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "content/public/browser/screen_orientation_provider.h"
|
| +#include "content/browser/screen_orientation/screen_orientation_provider.h"
|
|
|
| #include "base/optional.h"
|
| #include "base/run_loop.h"
|
| @@ -100,14 +100,14 @@ class ScreenOrientationProviderTest : public RenderViewHostImplTestHarness {
|
| void CallLockAndGetResult(
|
| blink::WebScreenOrientationLockType orientation,
|
| base::Optional<ScreenOrientationLockResult>* out_result) {
|
| - contents()->GetScreenOrientationProvider()->LockOrientation(
|
| + contents()->GetScreenOrientationProviderForTesting()->LockOrientation(
|
| orientation, base::Bind(&LockResultCallback, out_result));
|
|
|
| base::RunLoop().RunUntilIdle();
|
| }
|
|
|
| void CallUnlock() {
|
| - contents()->GetScreenOrientationProvider()->UnlockOrientation();
|
| + contents()->GetScreenOrientationProviderForTesting()->UnlockOrientation();
|
| }
|
|
|
| private:
|
|
|