| 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 4656d7c1df5db3174fe5373621a8d67bfdfa2e9d..0c7943129f524cf44b86a6f05a28eb6d63be4ef9 100644
|
| --- a/chrome/browser/ui/browser_command_controller.cc
|
| +++ b/chrome/browser/ui/browser_command_controller.cc
|
| @@ -1273,17 +1273,7 @@ void BrowserCommandController::UpdatePrintingState() {
|
| #if !defined(DISABLE_BASIC_PRINTING)
|
| command_updater_.UpdateCommandEnabled(IDC_BASIC_PRINT,
|
| CanBasicPrint(browser_));
|
| -#elif defined(OS_WIN)
|
| - HMODULE metro_module = base::win::GetMetroModule();
|
| - if (metro_module != NULL) {
|
| - typedef void (*MetroEnablePrinting)(BOOL);
|
| - MetroEnablePrinting metro_enable_printing =
|
| - reinterpret_cast<MetroEnablePrinting>(
|
| - ::GetProcAddress(metro_module, "MetroEnablePrinting"));
|
| - if (metro_enable_printing)
|
| - metro_enable_printing(print_enabled);
|
| - }
|
| -#endif // !OS_WIN
|
| +#endif // !DISABLE_BASIC_PRINTING
|
| }
|
|
|
| void BrowserCommandController::UpdateSaveAsState() {
|
|
|