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..839b24c901bd7318beaa89283ee0d21c27697a39 100644 |
--- a/content/browser/screen_orientation/screen_orientation_delegate_android.cc |
+++ b/content/browser/screen_orientation/screen_orientation_delegate_android.cc |
@@ -42,6 +42,7 @@ bool ScreenOrientationDelegateAndroid::FullScreenRequired( |
} |
void ScreenOrientationDelegateAndroid::Lock( |
+ WebContents* web_contents, |
blink::WebScreenOrientationLockType lock_orientation) { |
Java_ScreenOrientationProvider_lockOrientation( |
base::android::AttachCurrentThread(), lock_orientation); |
@@ -52,7 +53,7 @@ bool ScreenOrientationDelegateAndroid::ScreenOrientationProviderSupported() { |
return true; |
} |
-void ScreenOrientationDelegateAndroid::Unlock() { |
+void ScreenOrientationDelegateAndroid::Unlock(WebContents* web_contents) { |
Java_ScreenOrientationProvider_unlockOrientation( |
base::android::AttachCurrentThread()); |
} |