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

Unified Diff: components/favicon_base/favicon_types.h

Issue 1108833002: [Local NTP] Fix chrome://large-icon fallback when no favicon is found. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactoring constructors. Created 5 years, 8 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
« no previous file with comments | « components/favicon/core/large_icon_service.cc ('k') | components/favicon_base/favicon_types.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/favicon_base/favicon_types.h
diff --git a/components/favicon_base/favicon_types.h b/components/favicon_base/favicon_types.h
index f7c812abcff54c4e1c86bc16b90f56f1af91f2a7..469d0fa10b9890fee0cb5a83dc0aa2d71e8999a7 100644
--- a/components/favicon_base/favicon_types.h
+++ b/components/favicon_base/favicon_types.h
@@ -79,7 +79,11 @@ typedef FaviconRawBitmapResult FaviconRawBitmapData;
// either the bitmap data if the favicon database has a sufficiently large
// favicon bitmap and the style of the fallback icon otherwise.
struct LargeIconResult {
- LargeIconResult();
+ explicit LargeIconResult(const FaviconRawBitmapResult& bitmap_in);
+
+ // Takes ownership of |fallback_icon_style_in|.
+ explicit LargeIconResult(FallbackIconStyle* fallback_icon_style_in);
+
~LargeIconResult();
// The bitmap from the favicon database if the database has a sufficiently
« no previous file with comments | « components/favicon/core/large_icon_service.cc ('k') | components/favicon_base/favicon_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698