Replace deprecated getLastUsedProfile function at tests for features
available in incognito. Profile#getLastUsedProfile| is deprecated and replaced with |Profile#getLastUsedRegularProfile|. This CL updates test classes for the features that are available in incognito mode, or are persistent in incognito mode. Note: This change is only code clean-up, does not change any behaviour. Bug: 1041781 Change-Id: Ia6d239d838d1cdde3799fe5864f753eb5948ceaa Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2115514 Commit-Queue: Side YILMAZ <sideyilmaz@chromium.org> Reviewed-by:Boris Sazonov <bsazonov@chromium.org> Reviewed-by:
Ramin Halavati <rhalavati@chromium.org> Cr-Commit-Position: refs/heads/master@{#753960}
Showing
Please register or sign in to comment