Index: content/shell/renderer/test_runner/mock_screen_orientation_client.cc |
diff --git a/content/shell/renderer/test_runner/mock_screen_orientation_client.cc b/content/shell/renderer/test_runner/mock_screen_orientation_client.cc |
index 3eb83a624f60781068b1739f1f9fbd905ac49595..e697298f19460885745cf6c3f303b320d00c0eb3 100644 |
--- a/content/shell/renderer/test_runner/mock_screen_orientation_client.cc |
+++ b/content/shell/renderer/test_runner/mock_screen_orientation_client.cc |
@@ -131,8 +131,7 @@ void MockScreenOrientationClient::UpdateLockSync( |
current_lock_ = lock; |
if (!IsOrientationAllowedByCurrentLock(current_orientation_)) |
UpdateScreenOrientation(SuitableOrientationForCurrentLock()); |
- unsigned angle = OrientationTypeToAngle(current_orientation_); |
- callback->onSuccess(angle, current_orientation_); |
+ callback->onSuccess(); |
} |
void MockScreenOrientationClient::ResetLockSync() { |