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

Unified Diff: content/public/browser/favicon_status.cc

Issue 10837090: Change return type of FaviconTabHelper::GetFavicon() to gfx::Image. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win? Created 8 years, 4 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: content/public/browser/favicon_status.cc
diff --git a/content/public/browser/favicon_status.cc b/content/public/browser/favicon_status.cc
index 987ea61ce2b1c8117ccc93374c6bba01872a46b6..3fa304406731939cfe05029d96fd018e29b2bc2f 100644
--- a/content/public/browser/favicon_status.cc
+++ b/content/public/browser/favicon_status.cc
@@ -13,8 +13,4 @@ FaviconStatus::FaviconStatus() : valid(false) {
image = gfx::Image(*GetContentClient()->browser()->GetDefaultFavicon());
}
-SkBitmap FaviconStatus::AsBitmap() const {
- return image.IsEmpty() ? SkBitmap() : *image.ToSkBitmap();
-}
-
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698