Use scoped_ptr::Pass instead of scoped_ptr::PassAs<T>.

Also convert a few explicit invocations of the default scoped_ptr
ctor to just use nullptr instead.

BUG=423621

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

Cr-Commit-Position: refs/heads/master@{#299709}


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