| 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 2d29915dfa517d385eb023209b41670067d79d69..9ec7845fa5c31feb3e22f38173d7b1b93321bacc 100644
|
| --- a/chrome/browser/ui/cocoa/location_bar/content_setting_decoration.mm
|
| +++ b/chrome/browser/ui/cocoa/location_bar/content_setting_decoration.mm
|
| @@ -303,7 +303,7 @@ bool ContentSettingDecoration::OnMousePressed(NSRect frame, NSPoint location) {
|
| web_contents,
|
| profile_);
|
|
|
| - if (chrome::ToolkitViewsDialogsEnabled()) {
|
| + if (ui::MaterialDesignController::IsSecondaryUiMaterial()) {
|
| gfx::Point origin = gfx::ScreenPointFromNSPoint(anchor);
|
| chrome::ContentSettingBubbleViewsBridge::Show(
|
| [web_contents->GetTopLevelNativeWindow() contentView],
|
|
|