commit | a1b952115baf8e9e0ba6393d38363724a65bd220 | [log] [tgz] |
---|---|---|
author | Giovanni Ortuño Urquidi <ortuno@chromium.org> | Fri Nov 30 02:35:00 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Nov 30 02:35:00 2018 |
tree | 9a5e9dc083512d44533b87e37992052481d6c600 | |
parent | ecb81c3fe10845a0cbdbc7872a89054908c023cc [diff] |
mojo: Add the size template parameter to ArrayTraits<base::span> The ArrayTraits specialization for base::span with a specified size was considered to be missing. This caused accessors in mojom traits that returned a base::span with a specified size to fail to compile with: error: static_assert failed due to requirement 'internal::AlwaysFalse<span<const unsigned char, 6> >::value' "Cannot find the mojo::ArrayTraits specialization. Did you forget to include the corresponding header file?" Change-Id: I61ab07f2a1f74ea2eb5073b2776c995ce86b6255 Reviewed-on: https://chromium-review.googlesource.com/c/1356159 Commit-Queue: Giovanni Ortuño Urquidi <ortuno@chromium.org> Reviewed-by: Ken Rockot <rockot@google.com> Reviewed-by: Sam McNally <sammc@chromium.org> Cr-Commit-Position: refs/heads/master@{#612529}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .