Index: mojo/public/cpp/bindings/lib/bindings_internal.h |
diff --git a/mojo/public/cpp/bindings/lib/bindings_internal.h b/mojo/public/cpp/bindings/lib/bindings_internal.h |
index e00c2ab47d62fb92dbcf33ffc9870ed5f270e77b..4c5917a1c61710b5640ad6b32e7024d825ed10fb 100644 |
--- a/mojo/public/cpp/bindings/lib/bindings_internal.h |
+++ b/mojo/public/cpp/bindings/lib/bindings_internal.h |
@@ -44,10 +44,7 @@ union ArrayPointer { |
}; |
static_assert(sizeof(ArrayPointer<char>) == 8, "Bad_sizeof(ArrayPointer)"); |
-union StringPointer { |
- uint64_t offset; |
- Array_Data<char>* ptr; |
-}; |
+using StringPointer = ArrayPointer<char>; |
static_assert(sizeof(StringPointer) == 8, "Bad_sizeof(StringPointer)"); |