[ios][PhishGuard] Remove redundant WeakPtrFactory in PasswordProtectionRequest derived class
Previous CL split PasswordProtectionRequest into base and derived classes. A weakptr_factory was added to the derived class, but this is not necessary. We can use base::AsWeakPtr(&derived) to get a weak ptr to the derived instance. Bug: 1147967 Change-Id: I7df37dbe13448a7359707238fbfb8ca18b62ed65 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2642744Reviewed-by:Ali Juma <ajuma@chromium.org> Reviewed-by:
Bettina Dea <bdea@chromium.org> Commit-Queue: edchin <edchin@chromium.org> Cr-Commit-Position: refs/heads/master@{#845831}
Showing
Please register or sign in to comment