Index: chrome/browser/ui/cocoa/location_bar/content_setting_decoration.mm |
diff --git a/chrome/browser/ui/cocoa/location_bar/content_setting_decoration.mm b/chrome/browser/ui/cocoa/location_bar/content_setting_decoration.mm |
index d0f17a7543d3788f9b22dcd3b6888cca243d4ded..9aa56f099594915112249de8d17a968f1e9f43c7 100644 |
--- a/chrome/browser/ui/cocoa/location_bar/content_setting_decoration.mm |
+++ b/chrome/browser/ui/cocoa/location_bar/content_setting_decoration.mm |
@@ -11,6 +11,7 @@ |
#include "chrome/browser/content_settings/tab_specific_content_settings.h" |
#include "chrome/browser/prefs/pref_service.h" |
#include "chrome/browser/profiles/profile.h" |
+#include "chrome/browser/ui/browser_content_setting_bubble_model_delegate.h" |
#include "chrome/browser/ui/browser_list.h" |
#import "chrome/browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.h" |
#import "chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h" |
@@ -278,7 +279,8 @@ bool ContentSettingDecoration::OnMousePressed(NSRect frame) { |
// Open bubble. |
ContentSettingBubbleModel* model = |
ContentSettingBubbleModel::CreateContentSettingBubbleModel( |
- browser, tabContents, profile_, |
+ browser->content_setting_bubble_model_delegate(), |
+ tabContents, profile_, |
content_setting_image_model_->get_content_settings_type()); |
[ContentSettingBubbleController showForModel:model |
parentWindow:[field window] |