Fixed potential compilation error.

In SupportsWeakPtrBase::AsWeakPtrImpl<Derived, Base>, if the Derived class defines a member or a nested type called 'Base', then the expression t->Base::AsWeakPtr() takes a different meaning and doesn't compile.
Changed the expression to something equivalent but that doesn't exhibit this strange behavior.

Change-Id: I5cdfc7d672f378d9dd9afa4dd8138495de80745f
Reviewed-on: https://chromium-review.googlesource.com/773761
Commit-Queue: François Degros <fdegros@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/master@{#517290}

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