| Index: content/browser/device_orientation/message_filter.cc
|
| diff --git a/content/browser/device_orientation/message_filter.cc b/content/browser/device_orientation/message_filter.cc
|
| index 2843f7d16e19ca607d84e1786da092f0c9870262..b20071daeede15d165f706b634e0c0e68207252b 100644
|
| --- a/content/browser/device_orientation/message_filter.cc
|
| +++ b/content/browser/device_orientation/message_filter.cc
|
| @@ -10,16 +10,16 @@
|
|
|
| namespace content {
|
|
|
| -DeviceOrientationMessageFilter::DeviceOrientationMessageFilter(
|
| +DeviceOrientationMessageFilterOld::DeviceOrientationMessageFilterOld(
|
| DeviceData::Type device_data_type)
|
| : provider_(NULL),
|
| device_data_type_(device_data_type) {
|
| }
|
|
|
| -DeviceOrientationMessageFilter::~DeviceOrientationMessageFilter() {
|
| +DeviceOrientationMessageFilterOld::~DeviceOrientationMessageFilterOld() {
|
| }
|
|
|
| -void DeviceOrientationMessageFilter::OnStartUpdating(int render_view_id) {
|
| +void DeviceOrientationMessageFilterOld::OnStartUpdating(int render_view_id) {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
|
|
|
| if (!provider_.get())
|
| @@ -29,7 +29,7 @@ void DeviceOrientationMessageFilter::OnStartUpdating(int render_view_id) {
|
| device_data_type_, provider_.get(), render_view_id, this);
|
| }
|
|
|
| -void DeviceOrientationMessageFilter::OnStopUpdating(int render_view_id) {
|
| +void DeviceOrientationMessageFilterOld::OnStopUpdating(int render_view_id) {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
|
|
|
| observers_map_.erase(render_view_id);
|
|
|