| Index: content/browser/device_orientation/observer_delegate.cc
|
| diff --git a/content/browser/device_orientation/observer_delegate.cc b/content/browser/device_orientation/observer_delegate.cc
|
| index fc4273faaae3e9983c6d70ad84d25fe35170ad3a..1ffe07a7745489a9a729c0d5df094a5c044ec0af 100644
|
| --- a/content/browser/device_orientation/observer_delegate.cc
|
| +++ b/content/browser/device_orientation/observer_delegate.cc
|
| @@ -29,7 +29,7 @@ ObserverDelegate::~ObserverDelegate() {
|
| void ObserverDelegate::OnDeviceDataUpdate(
|
| const DeviceData* device_data, DeviceData::Type device_data_type) {
|
| scoped_refptr<const DeviceData> new_device_data(device_data);
|
| - if (!new_device_data)
|
| + if (!new_device_data.get())
|
| new_device_data = EmptyDeviceData(device_data_type);
|
|
|
| sender_->Send(new_device_data->CreateIPCMessage(render_view_id_));
|
|
|