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

Unified Diff: cc/ipc/selection_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/returned_resource_struct_traits.h ('k') | cc/ipc/shared_quad_state_struct_traits.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/ipc/selection_struct_traits.h
diff --git a/cc/ipc/selection_struct_traits.h b/cc/ipc/selection_struct_traits.h
index c5d52f780fc48537b9e17958380b8d2ab169bc6a..e7fd2655797c0438005f9b928adc13e4aaf5f3b7 100644
--- a/cc/ipc/selection_struct_traits.h
+++ b/cc/ipc/selection_struct_traits.h
@@ -11,7 +11,8 @@
namespace mojo {
template <>
-struct StructTraits<cc::mojom::Selection, cc::Selection<gfx::SelectionBound>> {
+struct StructTraits<cc::mojom::SelectionDataView,
+ cc::Selection<gfx::SelectionBound>> {
static const gfx::SelectionBound& start(
const cc::Selection<gfx::SelectionBound>& selection) {
return selection.start;
« no previous file with comments | « cc/ipc/returned_resource_struct_traits.h ('k') | cc/ipc/shared_quad_state_struct_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698