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

Unified Diff: cc/ipc/render_pass_id_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/quads_struct_traits.cc ('k') | cc/ipc/render_pass_struct_traits.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/ipc/render_pass_id_struct_traits.h
diff --git a/cc/ipc/render_pass_id_struct_traits.h b/cc/ipc/render_pass_id_struct_traits.h
index 3601a921a1e6e7285b07db249b81c396e7661fb8..fe0382fb94e02a0b0437d2bf7420d0bcda3edc35 100644
--- a/cc/ipc/render_pass_id_struct_traits.h
+++ b/cc/ipc/render_pass_id_struct_traits.h
@@ -11,7 +11,7 @@
namespace mojo {
template <>
-struct StructTraits<cc::mojom::RenderPassId, cc::RenderPassId> {
+struct StructTraits<cc::mojom::RenderPassIdDataView, cc::RenderPassId> {
static int layer_id(const cc::RenderPassId& id) { return id.layer_id; }
static uint32_t index(const cc::RenderPassId& id) { return id.index; }
« no previous file with comments | « cc/ipc/quads_struct_traits.cc ('k') | cc/ipc/render_pass_struct_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698