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

Unified Diff: chrome/browser/extensions/extensions_ui.cc

Issue 501136: Merge 34812 - Add the rightclick context menu for Browser actions and Page... (Closed) Base URL: svn://chrome-svn/chrome/branches/249/src/
Patch Set: Created 11 years 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/extensions/extensions_ui.cc
===================================================================
--- chrome/browser/extensions/extensions_ui.cc (revision 35008)
+++ chrome/browser/extensions/extensions_ui.cc (working copy)
@@ -403,10 +403,9 @@
if (!extension)
return;
- FilePath icon_path =
- extension->GetIconPath(Extension::EXTENSION_ICON_LARGE).GetFilePath();
scoped_ptr<SkBitmap> uninstall_icon;
- CrxInstaller::DecodeInstallIcon(icon_path, &uninstall_icon);
+ Extension::DecodeIcon(extension, Extension::EXTENSION_ICON_LARGE,
+ &uninstall_icon);
extension_id_uninstalling_ = extension_id;
ExtensionInstallUI client(dom_ui_->GetProfile());
« no previous file with comments | « chrome/browser/extensions/extension_disabled_infobar_delegate.cc ('k') | chrome/browser/views/browser_actions_container.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698