Android: Do not use TabImpl.getActivity in ToolbarButtonIPHController
ToolbarButtonIPHController is build with a particular ChromeActivity and the objects associated with it. Therefore it doesn't need to use TabImpl.getActivity() to get the current activity dynamically. This CL removes replaces the use of API with the controller's |mActivity|. Bug: 952703 Change-Id: Ie3e601250192832f4fb2706e44e673c374a0129a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2129374Reviewed-by:Ted Choc <tedchoc@chromium.org> Commit-Queue: Jinsuk Kim <jinsukkim@chromium.org> Cr-Commit-Position: refs/heads/master@{#755155}
Showing
Please register or sign in to comment