| 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 9023fa56e19d727de9188a90d645104284b1f709..eb44c5ecda039030f07609e61e6260a00923396e 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],
|
|
|