| Index: chrome/browser/chromeos/dbus/sensors_client.cc
|
| ===================================================================
|
| --- chrome/browser/chromeos/dbus/sensors_client.cc (revision 121922)
|
| +++ chrome/browser/chromeos/dbus/sensors_client.cc (working copy)
|
| @@ -11,7 +11,6 @@
|
| #include "content/public/browser/sensors_provider.h"
|
| #include "dbus/bus.h"
|
| #include "dbus/message.h"
|
| -#include "dbus/object_path.h"
|
| #include "dbus/object_proxy.h"
|
|
|
| using content::BrowserThread;
|
| @@ -32,9 +31,8 @@
|
| explicit SensorsClientImpl(dbus::Bus* bus)
|
| : sensors_proxy_(NULL),
|
| weak_ptr_factory_(this) {
|
| - sensors_proxy_ = bus->GetObjectProxy(
|
| - chromeos::kSensorsServiceName,
|
| - dbus::ObjectPath(chromeos::kSensorsServicePath));
|
| + sensors_proxy_ = bus->GetObjectProxy(chromeos::kSensorsServiceName,
|
| + chromeos::kSensorsServicePath);
|
| sensors_proxy_->ConnectToSignal(
|
| chromeos::kSensorsServiceInterface,
|
| chromeos::kScreenOrientationChanged,
|
|
|