Fix missing image of "new tab" button in incognito mode
TabGridNewTabButton is inited with page=TabGridPageIncognitoTabs, and depends on "setPage:" method to set the image of button. However this "setPage" has an early return for same page value, so when app is launched in incognito mode, the image will be missing. Bug: 991994 Change-Id: I7fd4f90a57486392f12ffab339f81517dbf25bcf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1746262 Commit-Queue: Yi Su <mrsuyi@chromium.org> Reviewed-by:edchin <edchin@chromium.org> Cr-Commit-Position: refs/heads/master@{#686345}
Showing
Please register or sign in to comment