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

Unified Diff: components/favicon_base/favicon_types.cc

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_base/favicon_types.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/favicon_base/favicon_types.cc
diff --git a/components/favicon_base/favicon_types.cc b/components/favicon_base/favicon_types.cc
index e69f1d7be53cb0b69d19d9eec26e503abf9615ae..2ed5eb062c694b23a689f31f42f1c936999f9004 100644
--- a/components/favicon_base/favicon_types.cc
+++ b/components/favicon_base/favicon_types.cc
@@ -27,7 +27,11 @@ FaviconRawBitmapResult::~FaviconRawBitmapResult() {}
// --------------------------------------------------------
// LargeIconResult
-LargeIconResult::LargeIconResult() {}
+LargeIconResult::LargeIconResult(const FaviconRawBitmapResult& bitmap_in)
+ : bitmap(bitmap_in) {}
+
+LargeIconResult::LargeIconResult(FallbackIconStyle* fallback_icon_style_in)
+ : fallback_icon_style(fallback_icon_style_in) {}
LargeIconResult::~LargeIconResult() {}
« no previous file with comments | « components/favicon_base/favicon_types.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698