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

Unified Diff: components/arc/common/app_struct_traits.cc

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
Index: components/arc/common/app_struct_traits.cc
diff --git a/components/arc/common/app_struct_traits.cc b/components/arc/common/app_struct_traits.cc
index 9cd31a5991caa56b12786f55d6523b050aa45b90..46c8ac0a22ce71c1ebcfc191adf857ac4783f633 100644
--- a/components/arc/common/app_struct_traits.cc
+++ b/components/arc/common/app_struct_traits.cc
@@ -6,8 +6,9 @@
namespace mojo {
-bool StructTraits<arc::mojom::ScreenRect, gfx::Rect>::Read(
- arc::mojom::ScreenRectDataView data, gfx::Rect* out) {
+bool StructTraits<arc::mojom::ScreenRectDataView, gfx::Rect>::Read(
+ arc::mojom::ScreenRectDataView data,
+ gfx::Rect* out) {
if (data.right() < data.left() || data.bottom() < data.top())
return false;
« no previous file with comments | « components/arc/common/app_struct_traits.h ('k') | components/autofill/content/public/cpp/autofill_types_struct_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698