Catch intptr_t to int conversion on 64-bit platforms.

Change the JNI generator to introduce a wrapper type
jni_int_wrapper which is used to prevent implicit
conversions which could be an intptr_t to int
conversion.

Change also includes fix (adding explicit case) for
a false positive which existings in the code base.

BUG=354405, 346626

Review URL: https://codereview.chromium.org/267893002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268741 0039d316-1c4b-4281-b951-d872f2087c98


CrOS-Libchrome-Original-Commit: bb82c498a56d16388e92ce0d321e7641652a0ca0
16 files changed
tree: 92d7ea23f82a9810434ad19abae51da7d6efdcc0
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/