Some favicon cleanup/upstreaming
commit2414c180571df4258ade31bb2888a2c09b62ba81
authordtrainor <dtrainor@chromium.org>
Tue, 26 Aug 2014 21:56:08 +0000 (26 14:56 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 26 Aug 2014 21:57:28 +0000 (26 21:57 +0000)
treef809ec544b2e66c4bb55b616f3ecc4e4dee5203e
parent18d64ecb4fc72171c55498ee507682085c684e01
Some favicon cleanup/upstreaming

- Add a check for whether or not the favicon is valid before caching it
- Still return an invalid favicon (will be default)
- Updated caching logic a bit to be more robust

BUG=

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

Cr-Commit-Position: refs/heads/master@{#291989}
chrome/android/java/src/org/chromium/chrome/browser/Tab.java
chrome/browser/android/tab_android.cc
chrome/browser/android/tab_android.h