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

Unified Diff: chrome/common/extensions/extension.cc

Issue 1075006: Eliminate all UI thread decoding of extension images.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 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/common/extensions/extension.h ('k') | chrome/common/extensions/extension_resource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/extension.cc
===================================================================
--- chrome/common/extensions/extension.cc (revision 42429)
+++ chrome/common/extensions/extension.cc (working copy)
@@ -1484,7 +1484,7 @@
Extension::Icons Extension::GetIconPathAllowLargerSize(
ExtensionResource* resource, Icons icon) {
*resource = GetIconPath(icon);
- if (!resource->GetFilePath().empty())
+ if (!resource->relative_path().empty())
return icon;
if (icon == EXTENSION_ICON_BITTY)
return GetIconPathAllowLargerSize(resource, EXTENSION_ICON_SMALL);
« no previous file with comments | « chrome/common/extensions/extension.h ('k') | chrome/common/extensions/extension_resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698