[Android Refactor]: Use ChromeActivity in BasicNativePage constructor
The android.app.Activity passed to the BasicNativePage constructor is always a ChromeActivity. This CL changes the type of the parameter to the BasicNativePage constructor to ChromeActivity. This enables removing an always-true "instanceof ChromeActivity" if() statement. BUG=835294 Change-Id: I7e63c26ae1d1eb53aa7e5be71174310320c6b471 Reviewed-on: https://chromium-review.googlesource.com/1021993 Commit-Queue: Peter Kotwicz <pkotwicz@chromium.org> Reviewed-by:Matthew Jones <mdjones@chromium.org> Reviewed-by:
Yaron Friedman <yfriedman@chromium.org> Cr-Commit-Position: refs/heads/master@{#553918}
Showing
Please register or sign in to comment