| Index: content/renderer/screen_orientation/screen_orientation_dispatcher.cc
|
| diff --git a/content/renderer/screen_orientation/screen_orientation_dispatcher.cc b/content/renderer/screen_orientation/screen_orientation_dispatcher.cc
|
| index 7e5bcfcd382aa85cf0c6add2a6d6517c39dd9dae..f0060ef0b2127ad16113a5b36b936729f88e2e90 100644
|
| --- a/content/renderer/screen_orientation/screen_orientation_dispatcher.cc
|
| +++ b/content/renderer/screen_orientation/screen_orientation_dispatcher.cc
|
| @@ -31,15 +31,12 @@ bool ScreenOrientationDispatcher::OnMessageReceived(
|
| return handled;
|
| }
|
|
|
| -void ScreenOrientationDispatcher::OnLockSuccess(
|
| - int request_id,
|
| - unsigned angle,
|
| - blink::WebScreenOrientationType orientation) {
|
| +void ScreenOrientationDispatcher::OnLockSuccess(int request_id) {
|
| blink::WebLockOrientationCallback* callback =
|
| pending_callbacks_.Lookup(request_id);
|
| if (!callback)
|
| return;
|
| - callback->onSuccess(angle, orientation);
|
| + callback->onSuccess();
|
| pending_callbacks_.Remove(request_id);
|
| }
|
|
|
|
|