mojo: Fix mojo test on Art runtime.
Due to the following bug: https://code.google.com/p/android/issues/detail?id=76644, it is not possible in art to create an empty buffer for address NULL. This solve the issue by creating an empty buffer on a random address. This is not an issue as the memory will never be accessed. BUG=406848 R=ppi@chromium.org,yfriedman@chromium.org Review URL: https://codereview.chromium.org/601163002 Cr-Commit-Position: refs/heads/master@{#296964}
Showing
Please register or sign in to comment