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

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

Issue 10905005: Change browser/page action default icon defined in manifest to support hidpi. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 3 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/common/extensions/extension.h
diff --git a/chrome/common/extensions/extension.h b/chrome/common/extensions/extension.h
index 5216471f2a5efda80ea1702b3cddf755c5082f2a..93842f3e1df1bc6185fa6491bb1ebcbbe6d1ee4b 100644
--- a/chrome/common/extensions/extension.h
+++ b/chrome/common/extensions/extension.h
@@ -617,8 +617,7 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
return !omnibox_keyword().empty() ||
browser_action() ||
(page_action() &&
- (page_action_command() ||
- !page_action()->default_icon_path().empty()));
+ (page_action_command() || page_action()->default_icon()));
}
const FileBrowserHandlerList* file_browser_handlers() const {
return file_browser_handlers_.get();

Powered by Google App Engine
This is Rietveld 408576698