| Index: content/browser/screen_orientation/screen_orientation_dispatcher_host.cc
|
| diff --git a/content/browser/screen_orientation/screen_orientation_dispatcher_host.cc b/content/browser/screen_orientation/screen_orientation_dispatcher_host.cc
|
| index e14c8d07152bbb91a38884c75d0465eeecbe2b9f..de5b089703fb5a227ad3676c347f6f93b3205b23 100644
|
| --- a/content/browser/screen_orientation/screen_orientation_dispatcher_host.cc
|
| +++ b/content/browser/screen_orientation/screen_orientation_dispatcher_host.cc
|
| @@ -71,17 +71,8 @@ void ScreenOrientationDispatcherHost::NotifyLockSuccess(int request_id) {
|
| if (!render_frame_host)
|
| return;
|
|
|
| - DCHECK(web_contents()->GetRenderViewHost());
|
| -
|
| - RenderWidgetHost* rwh = web_contents()->GetRenderViewHost();
|
| - blink::WebScreenInfo screen_info;
|
| - rwh->GetWebScreenInfo(&screen_info);
|
| -
|
| render_frame_host->Send(new ScreenOrientationMsg_LockSuccess(
|
| - render_frame_host->GetRoutingID(),
|
| - request_id,
|
| - screen_info.orientationAngle,
|
| - screen_info.orientationType));
|
| + render_frame_host->GetRoutingID(), request_id));
|
| ResetCurrentLock();
|
| }
|
|
|
|
|