DescriptionCheck if tab is null before requesting theme color
The toolbar scenelayer will draw even if the user is in the tab
switcher with no tabs. This null check prevents requesting a
default theme color from a nonexistent tab.
BUG=720213
Review-Url: https://codereview.chromium.org/2874323002
Cr-Commit-Position: refs/heads/master@{#471117}
Committed: https://chromium.googlesource.com/chromium/src/+/05f1677728d0bde892c5f21945ca8054d3f80a20
Patch Set 1 #
Messages
Total messages: 8 (4 generated)
|