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

Unified Diff: mojo/public/cpp/bindings/tests/rect_chromium_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
Index: mojo/public/cpp/bindings/tests/rect_chromium_traits.h
diff --git a/mojo/public/cpp/bindings/tests/rect_chromium_traits.h b/mojo/public/cpp/bindings/tests/rect_chromium_traits.h
index ab653711ccfa637c75b88f983b338c75bf47f78f..b446d7d34ac387f443a65a708d1dd0611688c4cf 100644
--- a/mojo/public/cpp/bindings/tests/rect_chromium_traits.h
+++ b/mojo/public/cpp/bindings/tests/rect_chromium_traits.h
@@ -12,7 +12,7 @@
namespace mojo {
template <>
-struct StructTraits<test::TypemappedRect, test::RectChromium> {
+struct StructTraits<test::TypemappedRectDataView, test::RectChromium> {
static int x(const test::RectChromium& r) { return r.x(); }
static int y(const test::RectChromium& r) { return r.y(); }
static int width(const test::RectChromium& r) { return r.width(); }
« no previous file with comments | « mojo/public/cpp/bindings/tests/rect_blink_traits.h ('k') | mojo/public/cpp/bindings/tests/struct_with_traits_impl_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698