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

Unified Diff: components/favicon_base/favicon_util.h

Issue 2313563002: Reduce jank from favicon downscaling. (Closed)
Patch Set: Rename function and remove 'Fast' 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..89980e3d7a9b870e91a89260792fd23e9d09cfd2 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 ResizeFaviconResultSlow(
+ 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