| Index: content/browser/screen_orientation/screen_orientation_delegate_android.cc
|
| diff --git a/content/browser/screen_orientation/screen_orientation_delegate_android.cc b/content/browser/screen_orientation/screen_orientation_delegate_android.cc
|
| index bb2f5bc61f9d0d3f0dae48774010b36e7b1963d6..592611ef2463d340cd991bc25a894cccb95fa88b 100644
|
| --- a/content/browser/screen_orientation/screen_orientation_delegate_android.cc
|
| +++ b/content/browser/screen_orientation/screen_orientation_delegate_android.cc
|
| @@ -41,10 +41,12 @@ bool ScreenOrientationDelegateAndroid::FullScreenRequired(
|
| return fullscreen_required;
|
| }
|
|
|
| -void ScreenOrientationDelegateAndroid::Lock(
|
| +bool ScreenOrientationDelegateAndroid::Lock(
|
| + WebContents* web_contents,
|
| blink::WebScreenOrientationLockType lock_orientation) {
|
| Java_ScreenOrientationProvider_lockOrientation(
|
| base::android::AttachCurrentThread(), lock_orientation);
|
| + return true;
|
| }
|
|
|
| bool ScreenOrientationDelegateAndroid::ScreenOrientationProviderSupported() {
|
| @@ -52,7 +54,7 @@ bool ScreenOrientationDelegateAndroid::ScreenOrientationProviderSupported() {
|
| return true;
|
| }
|
|
|
| -void ScreenOrientationDelegateAndroid::Unlock() {
|
| +void ScreenOrientationDelegateAndroid::Unlock(WebContents* web_contents) {
|
| Java_ScreenOrientationProvider_unlockOrientation(
|
| base::android::AttachCurrentThread());
|
| }
|
|
|