| Index: chrome/browser/ui/cocoa/bookmarks/bookmark_editor_base_controller.mm
|
| diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_editor_base_controller.mm b/chrome/browser/ui/cocoa/bookmarks/bookmark_editor_base_controller.mm
|
| index 21aacb5f9b7bc8fcdd3500e8afd748aa82461f77..5432432cdb69fdf38203c62fc9646d9ab52da574 100644
|
| --- a/chrome/browser/ui/cocoa/bookmarks/bookmark_editor_base_controller.mm
|
| +++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_editor_base_controller.mm
|
| @@ -26,6 +26,7 @@
|
| #include "components/strings/grit/components_strings.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
| #include "ui/base/l10n/l10n_util_mac.h"
|
| +#include "ui/base/material_design/material_design_controller.h"
|
|
|
| using bookmarks::BookmarkExpandedStateTracker;
|
| using bookmarks::BookmarkModel;
|
| @@ -75,7 +76,7 @@ void BookmarkEditor::Show(gfx::NativeWindow parent_window,
|
| Profile* profile,
|
| const EditDetails& details,
|
| Configuration configuration) {
|
| - if (chrome::ToolkitViewsDialogsEnabled()) {
|
| + if (ui::MaterialDesignController::IsSecondaryUiMaterial()) {
|
| chrome::ShowBookmarkEditorViews(parent_window, profile, details,
|
| configuration);
|
| return;
|
|
|