Add getImageFetcher function back to OmniboxQueryTileCoordinator.
This CL adds getImageFetcher function back to prevent crash causing not profile set before getVisuals function is called. Regular profile is used to create image fetcher when mImageFetcher is null. This is safe since anytime switching to incognito will cause setProfile function is called and image fetcher will be created with incognito profile. Bug: 1119688 Change-Id: I826bde1a36a22ccf59243d0bab194c2ddf0659a0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2366760 Commit-Queue: Side YILMAZ <sideyilmaz@chromium.org> Reviewed-by:Shakti Sahu <shaktisahu@chromium.org> Reviewed-by:
Filip Gorski <fgorski@chromium.org> Cr-Commit-Position: refs/heads/master@{#800575}
Showing
Please register or sign in to comment