diff options
author | pkotwicz <pkotwicz@chromium.org> | 2015-03-15 17:29:14 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-03-16 00:30:07 +0000 |
commit | fd7735542c3d296871959cb425093c8a6f0d29d3 (patch) | |
tree | c6d7898cc9a2024fb882572c107cf7283bf3a1ba /android_webview | |
parent | 00150c1b3233c1d634deec284906653a4b7a2a92 (diff) | |
download | chromium_src-fd7735542c3d296871959cb425093c8a6f0d29d3.zip chromium_src-fd7735542c3d296871959cb425093c8a6f0d29d3.tar.gz chromium_src-fd7735542c3d296871959cb425093c8a6f0d29d3.tar.bz2 |
Reload favicon from HTTP cache on Ctrl+Refresh
This CL adds a new parameter to WebContents::DownloadImage() to indicate
whether the request should bypass the cache.
BUG=455383
TEST=FaviconTabHelperTest.ReloadIgnoringCache
Review URL: https://codereview.chromium.org/934693002
Cr-Commit-Position: refs/heads/master@{#320691}
Diffstat (limited to 'android_webview')
-rw-r--r-- | android_webview/browser/icon_helper.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/android_webview/browser/icon_helper.cc b/android_webview/browser/icon_helper.cc index c4c0c3d..320fcd4 100644 --- a/android_webview/browser/icon_helper.cc +++ b/android_webview/browser/icon_helper.cc @@ -74,6 +74,7 @@ void IconHelper::DidUpdateFaviconURL( web_contents()->DownloadImage(i->icon_url, true, // Is a favicon 0, // No maximum size + false, // Normal cache policy base::Bind( &IconHelper::DownloadFaviconCallback, base::Unretained(this))); break; |