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

Unified Diff: components/favicon_base/favicon_util.h

Issue 2313563002: Reduce jank from favicon downscaling. (Closed)
Patch Set: Rename to ResizeFaviconBitmapResult Created 4 years, 3 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: components/favicon_base/favicon_util.h
diff --git a/components/favicon_base/favicon_util.h b/components/favicon_base/favicon_util.h
index 912f06f2f8d2c53363ee7a9fe46dc8e7cdc46917..7a339d2e0b9d3f527d38b7bb71fde5dbbb331b4d 100644
--- a/components/favicon_base/favicon_util.h
+++ b/components/favicon_base/favicon_util.h
@@ -36,6 +36,11 @@ gfx::Image SelectFaviconFramesFromPNGs(
const std::vector<float>& favicon_scales,
int favicon_size);
+favicon_base::FaviconRawBitmapResult ResizeFaviconBitmapResult(
sky 2016/09/07 23:28:22 Add description.
aelias_OOO_until_Jul13 2016/09/08 01:33:08 Done.
+ const std::vector<favicon_base::FaviconRawBitmapResult>&
+ favicon_bitmap_results,
+ int desired_size_in_pixel);
+
} // namspace favicon_base
#endif // COMPONENTS_FAVICON_BASE_FAVICON_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698