| Index: Source/modules/screen_orientation/LockOrientationCallback.cpp
|
| diff --git a/Source/modules/screen_orientation/LockOrientationCallback.cpp b/Source/modules/screen_orientation/LockOrientationCallback.cpp
|
| index 7eb294b183aa31a63129b00b99137a3e6ea135fe..1d6d58d953ba2cd251bd4bb34d4eaef003d29612 100644
|
| --- a/Source/modules/screen_orientation/LockOrientationCallback.cpp
|
| +++ b/Source/modules/screen_orientation/LockOrientationCallback.cpp
|
| @@ -21,12 +21,9 @@ LockOrientationCallback::~LockOrientationCallback()
|
| {
|
| }
|
|
|
| -void LockOrientationCallback::onSuccess(unsigned angle, blink::WebScreenOrientationType type)
|
| +void LockOrientationCallback::onSuccess()
|
| {
|
| - // FIXME: for the moment, we do nothing with the angle, we should use it and
|
| - // convert it to the appropriate type if the type == 'undefined' when the
|
| - // method will be implemented in ScreenOrientationController.
|
| - m_resolver->resolve(ScreenOrientation::orientationTypeToString(type));
|
| + m_resolver->resolve();
|
| }
|
|
|
| void LockOrientationCallback::onError(blink::WebLockOrientationError error)
|
|
|