summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/extensions/browser_action_button.mm
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2010-11-18 18:32:45 +0000
committerBen Murdoch <benm@google.com>2010-11-18 18:38:07 +0000
commit513209b27ff55e2841eac0e4120199c23acce758 (patch)
treeaeba30bb08c5f47c57003544e378a377c297eee6 /chrome/browser/cocoa/extensions/browser_action_button.mm
parent164f7496de0fbee436b385a79ead9e3cb81a50c1 (diff)
downloadexternal_chromium-513209b27ff55e2841eac0e4120199c23acce758.zip
external_chromium-513209b27ff55e2841eac0e4120199c23acce758.tar.gz
external_chromium-513209b27ff55e2841eac0e4120199c23acce758.tar.bz2
Merge Chromium at r65505: Initial merge by git.
Change-Id: I31d8f1d8cd33caaf7f47ffa7350aef42d5fbdb45
Diffstat (limited to 'chrome/browser/cocoa/extensions/browser_action_button.mm')
-rw-r--r--chrome/browser/cocoa/extensions/browser_action_button.mm5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/cocoa/extensions/browser_action_button.mm b/chrome/browser/cocoa/extensions/browser_action_button.mm
index 70f15ee..0cdaee5 100644
--- a/chrome/browser/cocoa/extensions/browser_action_button.mm
+++ b/chrome/browser/cocoa/extensions/browser_action_button.mm
@@ -45,7 +45,8 @@ const CGFloat kShadowOffset = 2.0;
class ExtensionImageTrackerBridge : public NotificationObserver,
public ImageLoadingTracker::Observer {
public:
- ExtensionImageTrackerBridge(BrowserActionButton* owner, Extension* extension)
+ ExtensionImageTrackerBridge(BrowserActionButton* owner,
+ const Extension* extension)
: owner_(owner),
tracker_(this) {
// The Browser Action API does not allow the default icon path to be
@@ -113,7 +114,7 @@ class ExtensionImageTrackerBridge : public NotificationObserver,
}
- (id)initWithFrame:(NSRect)frame
- extension:(Extension*)extension
+ extension:(const Extension*)extension
profile:(Profile*)profile
tabId:(int)tabId {
if ((self = [super initWithFrame:frame])) {