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

Unified Diff: chrome/browser/favicon/favicon_handler_unittest.cc

Issue 10824319: Give SelectFaviconFrames a quality score. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: test Created 8 years, 4 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/favicon/favicon_handler_unittest.cc
diff --git a/chrome/browser/favicon/favicon_handler_unittest.cc b/chrome/browser/favicon/favicon_handler_unittest.cc
index bcf438343a04ece407deeea09d289a1124db2a01..50ad60cc9aeea6ddbd76ac5bffeabb65cce1da91 100644
--- a/chrome/browser/favicon/favicon_handler_unittest.cc
+++ b/chrome/browser/favicon/favicon_handler_unittest.cc
@@ -301,7 +301,8 @@ void DownloadHandler::InvokeCallback() {
FillDataToBitmap(bitmap_size, bitmap_size, &bitmap);
gfx::Image image(bitmap);
favicon_helper_->OnDidDownloadFavicon(
- download_->download_id, download_->image_url, failed_, image);
+ download_->download_id, download_->image_url, failed_, image,
+ download_->image_size == gfx::kFaviconSize);
}
class FaviconHandlerTest : public ChromeRenderViewHostTestHarness {

Powered by Google App Engine
This is Rietveld 408576698