Change make_scoped_refptr() to MakeRefCounted().

Switch usage of make_scoped_refptr() to base::MakeRefCounted() where
possible. This automatically constructs the contained type and reduces
boilerplate.

Bug: 765333
Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Change-Id: Ic4f46bd7c0eff2bbb68fa51cb1720fdb5c194e80
Reviewed-on: https://chromium-review.googlesource.com/685510
Reviewed-by: Scott Violet <sky@chromium.org>
Reviewed-by: danakj <danakj@chromium.org>
Commit-Queue: kylechar <kylechar@chromium.org>
Cr-Commit-Position: refs/heads/master@{#506057}

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