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

Unified Diff: chrome/browser/pepper_broker_infobar_delegate.cc

Issue 15067008: [InfoBar] Add InfoBarDelegate::GetIconID() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Renaming back to GetIcon() Created 7 years, 7 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/pepper_broker_infobar_delegate.cc
diff --git a/chrome/browser/pepper_broker_infobar_delegate.cc b/chrome/browser/pepper_broker_infobar_delegate.cc
index 4f959ca14de24b18ab24625fc687228e420a892d..4a893a06ff06fd822f1ed27e8ae00b48e801a4ae 100644
--- a/chrome/browser/pepper_broker_infobar_delegate.cc
+++ b/chrome/browser/pepper_broker_infobar_delegate.cc
@@ -150,9 +150,8 @@ PepperBrokerInfoBarDelegate::~PepperBrokerInfoBarDelegate() {
callback_.Run(false);
}
-gfx::Image* PepperBrokerInfoBarDelegate::GetIcon() const {
- return &ResourceBundle::GetSharedInstance().GetNativeImageNamed(
- IDR_INFOBAR_PLUGIN_INSTALL);
+int PepperBrokerInfoBarDelegate::GetIconID() const {
+ return IDR_INFOBAR_PLUGIN_INSTALL;
}
string16 PepperBrokerInfoBarDelegate::GetMessageText() const {

Powered by Google App Engine
This is Rietveld 408576698