Descriptionjni: Allow nullptr to be converted to JavaRef.
Allow nullptr to be converted to JavaRef, not just JavaParamRef. This
avoids having to declare a ScopedJavaLocalRef just to pass null to a
function that takes JavaRef, and makes C++ "nullptr" and Java "null"
equivalent.
BUG=506850
R=yfriedman@chromium.org
Committed: https://crrev.com/8a47be66f340b94662c74544a30d546b49ad0bc3
Cr-Commit-Position: refs/heads/master@{#362966}
Patch Set 1 #
Total comments: 1
Patch Set 2 : fix typo in comment #Messages
Total messages: 11 (3 generated)
|