Index: content/renderer/device_orientation_dispatcher.cc |
diff --git a/content/renderer/device_orientation_dispatcher.cc b/content/renderer/device_orientation_dispatcher.cc |
index 42ce18dfa9c8ace26240343509550c180eaf772d..1acdac32c2907080004f653f5595ad9b980d5fba 100644 |
--- a/content/renderer/device_orientation_dispatcher.cc |
+++ b/content/renderer/device_orientation_dispatcher.cc |
@@ -51,6 +51,11 @@ WebKit::WebDeviceOrientation DeviceOrientationDispatcher::lastOrientation() |
return last_orientation_; |
} |
+WebKit::WebDeviceOrientation DeviceOrientationDispatcher::lastOrientationNew() |
+ const { |
+ return last_orientation_; |
+} |
+ |
namespace { |
bool OrientationsEqual(const DeviceOrientationMsg_Updated_Params& a, |
WebKit::WebDeviceOrientation* b) { |