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

Unified Diff: cc/ipc/surface_sequence_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_id_struct_traits.h ('k') | cc/ipc/transferable_resource_struct_traits.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/ipc/surface_sequence_struct_traits.h
diff --git a/cc/ipc/surface_sequence_struct_traits.h b/cc/ipc/surface_sequence_struct_traits.h
index db47458f96f8e7a097430584d588413639b5ec31..076587f0e07679404ebe0897057a8433e80c7db0 100644
--- a/cc/ipc/surface_sequence_struct_traits.h
+++ b/cc/ipc/surface_sequence_struct_traits.h
@@ -9,8 +9,8 @@
namespace mojo {
-// This template is fully specialized as cc::mojom::SurfaceSequence and
-// as cc::mojom::blink::SurfaceSequence, in generated .mojom.h and
+// This template is fully specialized as cc::mojom::SurfaceSequenceDataView and
+// as cc::mojom::blink::SurfaceSequenceDataView, in generated .mojom.h and
// .mojom-blink.h respectively.
template <typename T>
struct StructTraits<T, cc::SurfaceSequence> {
@@ -22,7 +22,7 @@ struct StructTraits<T, cc::SurfaceSequence> {
return id.sequence;
}
- static bool Read(typename T::DataView data, cc::SurfaceSequence* out) {
+ static bool Read(T data, cc::SurfaceSequence* out) {
*out = cc::SurfaceSequence(data.client_id(), data.sequence());
return true;
}
« no previous file with comments | « cc/ipc/surface_id_struct_traits.h ('k') | cc/ipc/transferable_resource_struct_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698