Clean null profile checks at TabModelSelectorProfileSupplier.
This CL removes the unnecessary profile checks for OTR profile, since IncognitoTabModelImpl guarantees to return non null profile for getProfile function with the recent change. Force profile creation is also not needed, since IncognitoTabModelImpl forces for the creation now. Bug: 1140892, 1060940, 1126532 Change-Id: Ie07c15399b3270d3b268213f84fc4a96431cd3b0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2494889 Commit-Queue: Side YILMAZ <sideyilmaz@chromium.org> Reviewed-by:Patrick Noland <pnoland@chromium.org> Reviewed-by:
David Trainor <dtrainor@chromium.org> Cr-Commit-Position: refs/heads/master@{#821199}
Showing
Please register or sign in to comment