Index: chrome/browser/ui/browser_command_controller.cc |
diff --git a/chrome/browser/ui/browser_command_controller.cc b/chrome/browser/ui/browser_command_controller.cc |
index 8ae3cc56bbc474dfe1f5174351bad3256e197268..f5f622c68cb54079d1af92106c3e477147f34d04 100644 |
--- a/chrome/browser/ui/browser_command_controller.cc |
+++ b/chrome/browser/ui/browser_command_controller.cc |
@@ -543,12 +543,12 @@ void BrowserCommandController::ExecuteCommandWithDisposition( |
case IDC_PRINT: |
Print(browser_); |
break; |
-#if !defined(DISABLE_BASIC_PRINTING) |
+#if defined(ENABLE_BASIC_PRINTING) |
case IDC_BASIC_PRINT: |
content::RecordAction(base::UserMetricsAction("Accel_Advanced_Print")); |
BasicPrint(browser_); |
break; |
-#endif // !DISABLE_BASIC_PRINTING |
+#endif // ENABLE_BASIC_PRINTING |
case IDC_TRANSLATE_PAGE: |
Translate(browser_); |
break; |
@@ -1277,10 +1277,10 @@ void BrowserCommandController::UpdateCommandsForFullscreenMode() { |
void BrowserCommandController::UpdatePrintingState() { |
bool print_enabled = CanPrint(browser_); |
command_updater_.UpdateCommandEnabled(IDC_PRINT, print_enabled); |
-#if !defined(DISABLE_BASIC_PRINTING) |
+#if defined(ENABLE_BASIC_PRINTING) |
command_updater_.UpdateCommandEnabled(IDC_BASIC_PRINT, |
CanBasicPrint(browser_)); |
-#endif // !DISABLE_BASIC_PRINTING |
+#endif // ENABLE_BASIC_PRINTING |
} |
void BrowserCommandController::UpdateSaveAsState() { |