| Index: android_webview/browser/icon_helper.cc
|
| diff --git a/android_webview/browser/icon_helper.cc b/android_webview/browser/icon_helper.cc
|
| index 9690df8f2e861831020663feec6cfcefb2d8c00f..816e05423e1b9683d99d34fcb8a793516dc124b9 100644
|
| --- a/android_webview/browser/icon_helper.cc
|
| +++ b/android_webview/browser/icon_helper.cc
|
| @@ -9,6 +9,7 @@
|
| #include "base/logging.h"
|
| #include "content/public/browser/browser_thread.h"
|
| #include "content/public/browser/web_contents.h"
|
| +#include "content/public/common/content_constants.h"
|
| #include "content/public/common/favicon_url.h"
|
| #include "third_party/skia/include/core/SkBitmap.h"
|
|
|
| @@ -59,8 +60,11 @@ void IconHelper::DidUpdateFaviconURL(int32 page_id,
|
| // TODO(acleung): only fetch the URL if favicon downloading is enabled.
|
| // (currently that is, the app has called WebIconDatabase.open()
|
| // but we should decouple that setting via a boolean setting)
|
| - web_contents()->DownloadFavicon(i->icon_url, 0, base::Bind(
|
| - &IconHelper::DownloadFaviconCallback, base::Unretained(this)));
|
| + web_contents()->DownloadFavicon(i->icon_url,
|
| + content::DOWNLOAD_FAVICON,
|
| + 0,
|
| + base::Bind(
|
| + &IconHelper::DownloadFaviconCallback, base::Unretained(this)));
|
| break;
|
| case content::FaviconURL::TOUCH_ICON:
|
| if (listener_)
|
|
|