Do not trigger primary color changes on non-supported toolbar states.
commita70b128369d6174464fab490e961b081fdd92560
authortedchoc <tedchoc@chromium.org>
Mon, 1 Jun 2015 19:30:13 +0000 (1 12:30 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 1 Jun 2015 19:31:13 +0000 (1 19:31 +0000)
tree51d8a2d49addc6672c77cecd43d3a68ff9290ad0
parentc426d7e90a927cf77347d1817fa72b97bc59b1eb
Do not trigger primary color changes on non-supported toolbar states.

This fixes an issue where you switch from the NTP to a normal tab
where it attempts to transition from transparent to gray on the
toolbar and results in a delayed update to the layout.

BUG=493082

Review URL: https://codereview.chromium.org/1155053003

Cr-Commit-Position: refs/heads/master@{#332240}
chrome/android/java_staging/src/org/chromium/chrome/browser/toolbar/ToolbarPhone.java