Clean up final uses of scoped_ptr<T>::PassAs() and remove it.

This helper to upcast in return statements is no longer needed.

BUG=423621

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

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


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