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

Unified Diff: cc/ipc/render_pass_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/render_pass_id_struct_traits.h ('k') | cc/ipc/render_pass_struct_traits.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/ipc/render_pass_struct_traits.h
diff --git a/cc/ipc/render_pass_struct_traits.h b/cc/ipc/render_pass_struct_traits.h
index 45d341168efe32e2a37d0cb966913aab6e52e49d..86c00d2245a2c6a527201c38ac1f13e6f06ccc17 100644
--- a/cc/ipc/render_pass_struct_traits.h
+++ b/cc/ipc/render_pass_struct_traits.h
@@ -14,7 +14,8 @@
namespace mojo {
template <>
-struct StructTraits<cc::mojom::RenderPass, std::unique_ptr<cc::RenderPass>> {
+struct StructTraits<cc::mojom::RenderPassDataView,
+ std::unique_ptr<cc::RenderPass>> {
static const cc::RenderPassId& id(
const std::unique_ptr<cc::RenderPass>& input) {
return input->id;
« no previous file with comments | « cc/ipc/render_pass_id_struct_traits.h ('k') | cc/ipc/render_pass_struct_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698