Index: content/browser/device_orientation/device_orientation_browsertest.cc |
diff --git a/content/browser/device_orientation/device_orientation_browsertest.cc b/content/browser/device_orientation/device_orientation_browsertest.cc |
index 346d59206b1440ce8adf3ca3e08ad09fea85b8c7..805d6011237c291357bfbf83e0b7cf7006ea4b8b 100644 |
--- a/content/browser/device_orientation/device_orientation_browsertest.cc |
+++ b/content/browser/device_orientation/device_orientation_browsertest.cc |
@@ -25,7 +25,7 @@ class MockProvider : public Provider { |
virtual void AddObserver(Observer* observer) { |
added_observer_ = true; |
- observer->OnOrientationUpdate(orientation_); |
+ observer->OnDeviceDataUpdate(&orientation_); |
} |
virtual void RemoveObserver(Observer* observer) { |
removed_observer_ = true; |