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

Unified Diff: device/bluetooth/public/interfaces/bluetooth_uuid_struct_traits.h

Issue 2253293002: Mojo C++ bindings: change the first template parameter of StructTraits and UnionTraits. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@91_extra
Patch Set: rebase Created 4 years, 4 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
Index: device/bluetooth/public/interfaces/bluetooth_uuid_struct_traits.h
diff --git a/device/bluetooth/public/interfaces/bluetooth_uuid_struct_traits.h b/device/bluetooth/public/interfaces/bluetooth_uuid_struct_traits.h
index 439f127b2a0a137bde0a47ed327fa3f97642d114..be3b815633308dc54913a82e4430a2ff457fdd1c 100644
--- a/device/bluetooth/public/interfaces/bluetooth_uuid_struct_traits.h
+++ b/device/bluetooth/public/interfaces/bluetooth_uuid_struct_traits.h
@@ -13,7 +13,8 @@
namespace mojo {
template <>
-struct StructTraits<device::mojom::BluetoothUUID, device::BluetoothUUID> {
+struct StructTraits<device::mojom::BluetoothUUIDDataView,
+ device::BluetoothUUID> {
static const std::string& uuid(const device::BluetoothUUID& uuid) {
return uuid.canonical_value();
}

Powered by Google App Engine
This is Rietveld 408576698