Index: chrome/browser/chromeos/dbus/cros_disks_client.cc |
diff --git a/chrome/browser/chromeos/dbus/cros_disks_client.cc b/chrome/browser/chromeos/dbus/cros_disks_client.cc |
index 63e63df806baeeff39b5e987ad5197c8e93626d6..210a71d17393d47b17aeb9eb5346b773be7ed0b0 100644 |
--- a/chrome/browser/chromeos/dbus/cros_disks_client.cc |
+++ b/chrome/browser/chromeos/dbus/cros_disks_client.cc |
@@ -9,6 +9,7 @@ |
#include "chrome/browser/chromeos/system/runtime_environment.h" |
#include "dbus/bus.h" |
#include "dbus/message.h" |
+#include "dbus/object_path.h" |
#include "dbus/object_proxy.h" |
#include "third_party/cros_system_api/dbus/service_constants.h" |
@@ -105,8 +106,9 @@ bool MaybePopArrayOfStrings(dbus::MessageReader* reader, |
class CrosDisksClientImpl : public CrosDisksClient { |
public: |
explicit CrosDisksClientImpl(dbus::Bus* bus) |
- : proxy_(bus->GetObjectProxy(cros_disks::kCrosDisksServiceName, |
- cros_disks::kCrosDisksServicePath)), |
+ : proxy_(bus->GetObjectProxy( |
+ cros_disks::kCrosDisksServiceName, |
+ dbus::ObjectPath(cros_disks::kCrosDisksServicePath))), |
weak_ptr_factory_(this) { |
} |