Index: chrome/browser/password_manager/native_backend_kwallet_x.cc |
diff --git a/chrome/browser/password_manager/native_backend_kwallet_x.cc b/chrome/browser/password_manager/native_backend_kwallet_x.cc |
index d74898d1351f3f6a4951e45a522fe55572549a6e..787ed5bf13358607fa4e011aa7db6dd89031a5d6 100644 |
--- a/chrome/browser/password_manager/native_backend_kwallet_x.cc |
+++ b/chrome/browser/password_manager/native_backend_kwallet_x.cc |
@@ -15,6 +15,7 @@ |
#include "content/public/browser/browser_thread.h" |
#include "dbus/bus.h" |
#include "dbus/message.h" |
+#include "dbus/object_path.h" |
#include "dbus/object_proxy.h" |
#include "grit/chromium_strings.h" |
#include "ui/base/l10n/l10n_util.h" |
@@ -103,7 +104,8 @@ void NativeBackendKWallet::InitOnDBThread(scoped_refptr<dbus::Bus> optional_bus, |
session_bus_ = new dbus::Bus(options); |
} |
kwallet_proxy_ = |
- session_bus_->GetObjectProxy(kKWalletServiceName, kKWalletPath); |
+ session_bus_->GetObjectProxy(kKWalletServiceName, |
+ dbus::ObjectPath(kKWalletPath)); |
// kwalletd may not be running. If we get a temporary failure initializing it, |
// try to start it and then try again. (Note the short-circuit evaluation.) |
const InitResult result = InitWallet(); |
@@ -118,7 +120,8 @@ bool NativeBackendKWallet::StartKWalletd() { |
// Sadly kwalletd doesn't use DBus activation, so we have to make a call to |
// klauncher to start it. |
dbus::ObjectProxy* klauncher = |
- session_bus_->GetObjectProxy(kKLauncherServiceName, kKLauncherPath); |
+ session_bus_->GetObjectProxy(kKLauncherServiceName, |
+ dbus::ObjectPath(kKLauncherPath)); |
dbus::MethodCall method_call(kKLauncherInterface, |
"start_service_by_desktop_name"); |