}
void ScreenOrientationProviderAndroid::LockOrientation(
- blink::WebScreenOrientations orientations) {
+ blink::WebScreenOrientationLockType orientation) {
if (j_screen_orientation_provider_.is_null()) {
j_screen_orientation_provider_.Reset(Java_ScreenOrientationProvider_create(
base::android::AttachCurrentThread()));
Java_ScreenOrientationProvider_lockOrientation(
base::android::AttachCurrentThread(),
- j_screen_orientation_provider_.obj(), orientations);
+ j_screen_orientation_provider_.obj(), orientation);
}
void ScreenOrientationProviderAndroid::UnlockOrientation() {