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

Unified Diff: ui/gfx/mojo/selection_bound_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 | « ui/gfx/mojo/accelerated_widget_struct_traits.h ('k') | ui/gfx/mojo/transform_struct_traits.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/mojo/selection_bound_struct_traits.h
diff --git a/ui/gfx/mojo/selection_bound_struct_traits.h b/ui/gfx/mojo/selection_bound_struct_traits.h
index a25964e278b064e29f0f50f2a3f4fbec0280a3f3..564d00cffc941713f38e5030d0b9d4af6ea7e6a1 100644
--- a/ui/gfx/mojo/selection_bound_struct_traits.h
+++ b/ui/gfx/mojo/selection_bound_struct_traits.h
@@ -47,7 +47,7 @@ gfx::SelectionBound::Type MojoSelectionBoundTypeToGfx(
}
template <>
-struct StructTraits<gfx::mojom::SelectionBound, gfx::SelectionBound> {
+struct StructTraits<gfx::mojom::SelectionBoundDataView, gfx::SelectionBound> {
static gfx::mojom::SelectionBoundType type(const gfx::SelectionBound& input) {
return GfxSelectionBoundTypeToMojo(input.type());
}
« no previous file with comments | « ui/gfx/mojo/accelerated_widget_struct_traits.h ('k') | ui/gfx/mojo/transform_struct_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698