Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(122)

Unified Diff: chrome/browser/importer/importer.cc

Issue 6672065: Support touch icon in FaviconHelper (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reset candidates when FaviconURL is updated Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/importer/importer.cc
diff --git a/chrome/browser/importer/importer.cc b/chrome/browser/importer/importer.cc
index 7bbc3df43d18a9c6616c0dcd9ce8ae727e9793ed..4186f885d56c39fa329b2e806be0d0581a40d9fd 100644
--- a/chrome/browser/importer/importer.cc
+++ b/chrome/browser/importer/importer.cc
@@ -39,7 +39,7 @@ bool Importer::ReencodeFavicon(const unsigned char* src_data,
// The bitmap is not the correct size, re-sample.
int new_width = decoded.width();
int new_height = decoded.height();
- calc_favicon_target_size(&new_width, &new_height);
+ calc_favicon_target_size(kFaviconSize, &new_width, &new_height);
decoded = skia::ImageOperations::Resize(
decoded, skia::ImageOperations::RESIZE_LANCZOS3, new_width, new_height);
}

Powered by Google App Engine
This is Rietveld 408576698