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
1 file changed
tree: 06a38ca7b7b9de8a1d19d625fdb2fe9549dc7a05
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/