Chromium Code Reviews| Index: chrome/browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.mm |
| diff --git a/chrome/browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.mm b/chrome/browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.mm |
| index d22342117b84979dbb9ae8b600294c0caf02bb3f..24f5f1a715cf61da4cb69b8b27a34d6152a74538 100644 |
| --- a/chrome/browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.mm |
| +++ b/chrome/browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.mm |
| @@ -285,6 +285,9 @@ const ContentTypeToNibPath kNibPaths[] = { |
| if (model->AsMediaStreamBubbleModel()) |
| nibPath = @"ContentBlockedMedia"; |
| + if (model->AsSubresourceFilterBubbleModel()) |
|
Bernhard Bauer
2016/07/27 19:27:44
Doing all of these checks in sequence feels a bit
melandory
2016/07/28 14:04:56
Done.
|
| + nibPath = @"ContentSubresourceFilter"; |
| + |
| DCHECK_NE(0u, [nibPath length]); |
| if ((self = [super initWithWindowNibPath:nibPath |