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 e67cc73634ec79a3541815223011e5f6d3f4f661..91a36e39767de436b22bddca44c9f9a8a076e283 100644 |
--- a/content/renderer/screen_orientation/screen_orientation_dispatcher.cc |
+++ b/content/renderer/screen_orientation/screen_orientation_dispatcher.cc |
@@ -69,13 +69,12 @@ |
CancelPendingLocks(); |
int request_id = pending_callbacks_.Add(callback); |
- Send(new ScreenOrientationHostMsg_LockRequest( |
- routing_id(), orientation, request_id)); |
+ Send(new ScreenOrientationHostMsg_LockRequest(orientation, request_id)); |
} |
void ScreenOrientationDispatcher::unlockOrientation() { |
CancelPendingLocks(); |
- Send(new ScreenOrientationHostMsg_Unlock(routing_id())); |
+ Send(new ScreenOrientationHostMsg_Unlock); |
} |
} // namespace content |