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

Unified Diff: cc/ipc/transferable_resource_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
« no previous file with comments | « cc/ipc/surface_sequence_struct_traits.h ('k') | cc/ipc/transferable_resource_struct_traits.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/ipc/transferable_resource_struct_traits.h
diff --git a/cc/ipc/transferable_resource_struct_traits.h b/cc/ipc/transferable_resource_struct_traits.h
index 0dc67e78fbcc9c78a15446564c8d0c44b0a67adf..c856b6683ed81da1eb09fd11ae24bfd844240923 100644
--- a/cc/ipc/transferable_resource_struct_traits.h
+++ b/cc/ipc/transferable_resource_struct_traits.h
@@ -11,7 +11,8 @@
namespace mojo {
template <>
-struct StructTraits<cc::mojom::TransferableResource, cc::TransferableResource> {
+struct StructTraits<cc::mojom::TransferableResourceDataView,
+ cc::TransferableResource> {
static uint32_t id(const cc::TransferableResource& resource) {
return resource.id;
}
« no previous file with comments | « cc/ipc/surface_sequence_struct_traits.h ('k') | cc/ipc/transferable_resource_struct_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698