summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/gtk')
-rw-r--r--chrome/browser/gtk/extension_infobar_gtk.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/gtk/extension_infobar_gtk.cc b/chrome/browser/gtk/extension_infobar_gtk.cc
index cdc9561..8bf2991 100644
--- a/chrome/browser/gtk/extension_infobar_gtk.cc
+++ b/chrome/browser/gtk/extension_infobar_gtk.cc
@@ -48,9 +48,8 @@ void ExtensionInfoBarGtk::BuildWidgets() {
// Start loading the image for the menu button.
ExtensionResource icon_resource;
Extension* extension = delegate_->extension_host()->extension();
- Extension::Icons size =
- extension->GetIconPathAllowLargerSize(&icon_resource,
- Extension::EXTENSION_ICON_BITTY);
+ Extension::Icons size = extension->GetIconResourceAllowLargerSize(
+ &icon_resource, Extension::EXTENSION_ICON_BITTY);
if (!icon_resource.relative_path().empty()) {
// Create a tracker to load the image. It will report back on OnImageLoaded.
tracker_.LoadImage(extension, icon_resource, gfx::Size(size, size),