| 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 2a7a4e5410e9cccaf1af818005f128cde669840d..dfc4f48e81c04b194ad2e5363acd29c4dd80b75b 100644
|
| --- a/content/browser/screen_orientation/screen_orientation_provider_unittest.cc
|
| +++ b/content/browser/screen_orientation/screen_orientation_provider_unittest.cc
|
| @@ -80,7 +80,8 @@ class FakeWebContentsDelegate : public WebContentsDelegate {
|
| };
|
|
|
| void LockResultCallback(base::Optional<ScreenOrientationLockResult>* out_result,
|
| - ScreenOrientationLockResult result) {
|
| + ScreenOrientationLockResult result,
|
| + blink::WebScreenOrientationLockType lock) {
|
| *out_result = result;
|
| }
|
|
|
| @@ -100,14 +101,14 @@ class ScreenOrientationProviderTest : public RenderViewHostImplTestHarness {
|
| void CallLockAndGetResult(
|
| blink::WebScreenOrientationLockType orientation,
|
| base::Optional<ScreenOrientationLockResult>* out_result) {
|
| - contents()->GetScreenOrientationProviderForTesting()->LockOrientation(
|
| + contents()->GetScreenOrientationProvider()->LockOrientation(
|
| orientation, base::Bind(&LockResultCallback, out_result));
|
|
|
| base::RunLoop().RunUntilIdle();
|
| }
|
|
|
| void CallUnlock() {
|
| - contents()->GetScreenOrientationProviderForTesting()->UnlockOrientation();
|
| + contents()->GetScreenOrientationProvider()->UnlockOrientation();
|
| }
|
|
|
| private:
|
|
|