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

Unified Diff: chrome/browser/history/history_types.cc

Issue 10821035: wip Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 5 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 | « chrome/browser/history/history_types.h ('k') | chrome/browser/history/thumbnail_database_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/history_types.cc
diff --git a/chrome/browser/history/history_types.cc b/chrome/browser/history/history_types.cc
index bf1b60b31e7d9680c2fe2b2b43ccc13f01d42217..0912c2470206dafe11188ccbb69214ae8e610d60 100644
--- a/chrome/browser/history/history_types.cc
+++ b/chrome/browser/history/history_types.cc
@@ -438,8 +438,15 @@ FaviconData::FaviconData()
FaviconData::~FaviconData() {}
+FaviconData::Variant::Variant() {
+}
+
+FaviconData::Variant::~Variant() {
+}
+
bool FaviconData::is_valid() {
- return known_icon && bitmap_data.get() && bitmap_data->size();
+ return known_icon && variants.size() > 0 &&
+ variants[0].bitmap_data.get() && variants[0].bitmap_data->size(); // XXX
}
// FaviconIDSize --------------------------------------------------------------
« no previous file with comments | « chrome/browser/history/history_types.h ('k') | chrome/browser/history/thumbnail_database_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698