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

Unified Diff: ui/gfx/mojo/accelerated_widget_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/geometry/mojo/geometry_struct_traits.h ('k') | ui/gfx/mojo/selection_bound_struct_traits.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/mojo/accelerated_widget_struct_traits.h
diff --git a/ui/gfx/mojo/accelerated_widget_struct_traits.h b/ui/gfx/mojo/accelerated_widget_struct_traits.h
index 922a07ba6b7d6b39ca04ecbabb077633dba0ddcb..7b401d61758c4e097a17dd9cb95d1de88fcc700f 100644
--- a/ui/gfx/mojo/accelerated_widget_struct_traits.h
+++ b/ui/gfx/mojo/accelerated_widget_struct_traits.h
@@ -11,7 +11,8 @@
namespace mojo {
template <>
-struct StructTraits<gfx::mojom::AcceleratedWidget, gfx::AcceleratedWidget> {
+struct StructTraits<gfx::mojom::AcceleratedWidgetDataView,
+ gfx::AcceleratedWidget> {
static uint64_t widget(const gfx::AcceleratedWidget& widget) {
#if defined(OS_WIN) || defined(USE_OZONE) || defined(USE_X11)
#if defined(OS_WIN)
« no previous file with comments | « ui/gfx/geometry/mojo/geometry_struct_traits.h ('k') | ui/gfx/mojo/selection_bound_struct_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698