commit | b8efdf43e72a218f1b243c641dc3e84bcdafeb99 | [log] [tgz] |
---|---|---|
author | Torne (Richard Coles) <torne@chromium.org> | Sat Nov 28 03:12:28 2015 +0900 |
committer | Qijiang Fan <fqj@google.com> | Fri Jun 05 01:56:23 2020 +0900 |
tree | 06a38ca7b7b9de8a1d19d625fdb2fe9549dc7a05 | |
parent | 4a7b1c32d1eb97dc69d8cef94a95d9f9d4e9d58c [diff] |
jni: Allow nullptr to be converted to JavaParamRef. Some unit tests call JNI methods from C++ and want to be able to pass null as a parameter. Allow nullptr_t to be converted to JavaParamRef to keep this working. BUG=506850 R=yfriedman@chromium.org Review URL: https://codereview.chromium.org/1481033002 . Cr-Commit-Position: refs/heads/master@{#362026} CrOS-Libchrome-Original-Commit: 0b2cd651ddd37de8a4072efd022681faeb5394de