Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(48)

Unified Diff: chromeos/dbus/bluetooth_profile_service_provider.cc

Issue 660663003: Use scoped_ptr::Pass instead of scoped_ptr::PassAs<T>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/dbus/bluetooth_gatt_service_service_provider.cc ('k') | chromeos/network/onc/onc_merger.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/bluetooth_profile_service_provider.cc
diff --git a/chromeos/dbus/bluetooth_profile_service_provider.cc b/chromeos/dbus/bluetooth_profile_service_provider.cc
index 960ddfb959cd59f7e131783f36b2f8a464234dfe..16bc2e81d9f16911fff9fee796181ad5673274a3 100644
--- a/chromeos/dbus/bluetooth_profile_service_provider.cc
+++ b/chromeos/dbus/bluetooth_profile_service_provider.cc
@@ -195,17 +195,13 @@ class BluetoothProfileServiceProviderImpl
break;
}
case Delegate::REJECTED: {
- response_sender.Run(
- dbus::ErrorResponse::FromMethodCall(
- method_call, bluetooth_profile::kErrorRejected, "rejected")
- .PassAs<dbus::Response>());
+ response_sender.Run(dbus::ErrorResponse::FromMethodCall(
+ method_call, bluetooth_profile::kErrorRejected, "rejected"));
break;
}
case Delegate::CANCELLED: {
- response_sender.Run(
- dbus::ErrorResponse::FromMethodCall(
- method_call, bluetooth_profile::kErrorCanceled, "canceled")
- .PassAs<dbus::Response>());
+ response_sender.Run(dbus::ErrorResponse::FromMethodCall(
+ method_call, bluetooth_profile::kErrorCanceled, "canceled"));
break;
}
default:
« no previous file with comments | « chromeos/dbus/bluetooth_gatt_service_service_provider.cc ('k') | chromeos/network/onc/onc_merger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698