Index: chrome/browser/ui/cocoa/accelerators_cocoa.mm |
diff --git a/chrome/browser/ui/cocoa/accelerators_cocoa.mm b/chrome/browser/ui/cocoa/accelerators_cocoa.mm |
index ce872f3ef16bb7d6788256dbf62c24bfa3524d18..7cd58a85952e15ae761a5713998efa95e57e40e9 100644 |
--- a/chrome/browser/ui/cocoa/accelerators_cocoa.mm |
+++ b/chrome/browser/ui/cocoa/accelerators_cocoa.mm |
@@ -13,6 +13,7 @@ |
#include "base/macros.h" |
#include "base/memory/singleton.h" |
#include "chrome/app/chrome_command_ids.h" |
+#include "printing/features/features.h" |
#import "ui/base/accelerators/platform_accelerator_cocoa.h" |
#import "ui/events/cocoa/cocoa_event_utils.h" |
#import "ui/events/keycodes/keyboard_code_conversion_mac.h" |
@@ -72,7 +73,7 @@ const struct AcceleratorMapping { |
{IDC_FOCUS_LOCATION, NSCommandKeyMask, ui::VKEY_L}, |
{IDC_CLOSE_WINDOW, NSCommandKeyMask, ui::VKEY_W}, |
{IDC_EMAIL_PAGE_LOCATION, NSCommandKeyMask | NSShiftKeyMask, ui::VKEY_I}, |
-#if defined(ENABLE_BASIC_PRINTING) |
+#if BUILDFLAG(ENABLE_BASIC_PRINTING) |
{IDC_BASIC_PRINT, NSCommandKeyMask | NSAlternateKeyMask, ui::VKEY_P}, |
#endif // ENABLE_BASIC_PRINTING |
{IDC_CONTENT_CONTEXT_UNDO, NSCommandKeyMask, ui::VKEY_Z}, |