Introduce objectEquals for null-safe equality check

There exists a similar API in Objects[1] but it's only available in
API 19+. Will be used in http://crrev.com/2704263004

[1] https://developer.android.com/reference/java/util/Objects.html

Review-Url: https://codereview.chromium.org/2733363003
Cr-Commit-Position: refs/heads/master@{#455900}


CrOS-Libchrome-Original-Commit: d41491179d6dd91eeca40fc743889eafe98a7050
1 file changed
tree: 352c11db45277bd8d6ac51b1181707498d712ec9
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/