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

Unified Diff: mojo/public/cpp/bindings/tests/map_common_test.h

Issue 2259283003: Mojo C++ bindings: share DataView class between chromium and blink variants. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@92_change_traits_param
Patch Set: . 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/map_common_test.h
diff --git a/mojo/public/cpp/bindings/tests/map_common_test.h b/mojo/public/cpp/bindings/tests/map_common_test.h
index c8654ce7f84d75e93fd33d6496b7058febf78718..67fc00c4c83c077b72f532b4637a52685a7c25f3 100644
--- a/mojo/public/cpp/bindings/tests/map_common_test.h
+++ b/mojo/public/cpp/bindings/tests/map_common_test.h
@@ -155,7 +155,7 @@ class MapCommonTest {
static void ArrayOfMap() {
{
- using MojomType = Array<Map<int32_t, int8_t>>;
+ using MojomType = ArrayDataView<MapDataView<int32_t, int8_t>>;
using UserType = ArrayType<MapType<int32_t, int8_t>>;
UserType array(1);
@@ -185,7 +185,8 @@ class MapCommonTest {
}
{
- using MojomType = Array<Map<String, Array<bool>>>;
+ using MojomType =
+ ArrayDataView<MapDataView<StringDataView, ArrayDataView<bool>>>;
using UserType = ArrayType<MapType<StringType, ArrayType<bool>>>;
UserType array(1);
« no previous file with comments | « mojo/public/cpp/bindings/tests/data_view_unittest.cc ('k') | mojo/public/cpp/bindings/tests/rect_blink.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698