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

Unified Diff: components/arc/common/app_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 | « components/arc/common/OWNERS ('k') | components/arc/common/app_struct_traits.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/common/app_struct_traits.h
diff --git a/components/arc/common/app_struct_traits.h b/components/arc/common/app_struct_traits.h
index 86818757472a6ea0c53164546b0385aedb7e3a56..e0ada3d9e8c327f6d4a81bf06898a536b1113f75 100644
--- a/components/arc/common/app_struct_traits.h
+++ b/components/arc/common/app_struct_traits.h
@@ -11,7 +11,7 @@
namespace mojo {
template <>
-struct StructTraits<arc::mojom::ScreenRect, gfx::Rect> {
+struct StructTraits<arc::mojom::ScreenRectDataView, gfx::Rect> {
static int32_t left(const gfx::Rect& p) { return p.x(); }
static int32_t top(const gfx::Rect& p) { return p.y(); }
static int32_t right(const gfx::Rect& p) { return p.right(); }
« no previous file with comments | « components/arc/common/OWNERS ('k') | components/arc/common/app_struct_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698