| Index: Source/modules/screen_orientation/LockOrientationCallback.cpp
|
| diff --git a/Source/modules/screen_orientation/LockOrientationCallback.cpp b/Source/modules/screen_orientation/LockOrientationCallback.cpp
|
| index f2e3753185e0c14ceeba190f31351668c2c004e2..d91ea0f7162144fef6f9221448bd334a3a946c14 100644
|
| --- a/Source/modules/screen_orientation/LockOrientationCallback.cpp
|
| +++ b/Source/modules/screen_orientation/LockOrientationCallback.cpp
|
| @@ -26,21 +26,21 @@ void LockOrientationCallback::onSuccess()
|
| m_resolver->resolve();
|
| }
|
|
|
| -void LockOrientationCallback::onError(blink::WebLockOrientationError error)
|
| +void LockOrientationCallback::onError(WebLockOrientationError error)
|
| {
|
| ExceptionCode code = 0;
|
| String msg = "";
|
|
|
| switch (error) {
|
| - case blink::WebLockOrientationErrorNotAvailable:
|
| + case WebLockOrientationErrorNotAvailable:
|
| code = NotSupportedError;
|
| msg = "lockOrientation() is not available on this device.";
|
| break;
|
| - case blink::WebLockOrientationErrorFullScreenRequired:
|
| + case WebLockOrientationErrorFullScreenRequired:
|
| code = SecurityError;
|
| msg = "The page needs to be fullscreen in order to call lockOrientation().";
|
| break;
|
| - case blink::WebLockOrientationErrorCanceled:
|
| + case WebLockOrientationErrorCanceled:
|
| code = AbortError;
|
| msg = "A call to lockOrientation() or unlockOrientation() canceled this call.";
|
| break;
|
|
|