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

Unified Diff: chrome/browser/ui/webui/ntp/favicon_webui_handler.cc

Issue 9428025: Add support for multiple icon sizes for Mac platform apps (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address review comments Created 8 years, 10 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: chrome/browser/ui/webui/ntp/favicon_webui_handler.cc
diff --git a/chrome/browser/ui/webui/ntp/favicon_webui_handler.cc b/chrome/browser/ui/webui/ntp/favicon_webui_handler.cc
index f024fd1bfae57e49a27033f7d6efbb9539226287..62d813f6b9855b2c07127ee7a1e9a9ca38c96b54 100644
--- a/chrome/browser/ui/webui/ntp/favicon_webui_handler.cc
+++ b/chrome/browser/ui/webui/ntp/favicon_webui_handler.cc
@@ -50,11 +50,11 @@ class ExtensionIconColorManager : public ExtensionIconManager {
handler_(handler) {}
virtual ~ExtensionIconColorManager() {}
- virtual void OnImageLoaded(SkBitmap* image,
- const ExtensionResource& resource,
+ virtual void OnImageLoaded(const gfx::Image& image,
+ const std::string& extension_id,
int index) OVERRIDE {
- ExtensionIconManager::OnImageLoaded(image, resource, index);
- handler_->NotifyAppIconReady(resource.extension_id());
+ ExtensionIconManager::OnImageLoaded(image, extension_id, index);
+ handler_->NotifyAppIconReady(extension_id);
}
private:

Powered by Google App Engine
This is Rietveld 408576698