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