Replace deprecated getLastUsedProfile function in
RevampedContextMenuHeader classes. Profile#getLastUsedProfile| is deprecated and replaced with |Profile#getLastUsedRegularProfile|. This CL updates RevampedContextMenuHeader classes by passing the current profile from RevampedContextMenuCoordinator. The junit tests of RevampedContextMenuHeader classes are also updated by adding mock Profile object to mimic the regular profile. Bug: 1041781 Change-Id: Iab0f5d900fea3616b5fdcd688335f17d8b757b67 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2108503 Commit-Queue: Side YILMAZ <sideyilmaz@chromium.org> Reviewed-by:Boris Sazonov <bsazonov@chromium.org> Cr-Commit-Position: refs/heads/master@{#754084}
Showing
Please register or sign in to comment