Chromium Code Reviews| Index: printing/printing_context_win.cc |
| diff --git a/printing/printing_context_win.cc b/printing/printing_context_win.cc |
| index b5d05519de391d2913629810d1764af516520d9b..8e0f0e11893df996ba0dbcfe0777f89dbbbbc051 100644 |
| --- a/printing/printing_context_win.cc |
| +++ b/printing/printing_context_win.cc |
| @@ -23,6 +23,7 @@ |
| #include "printing/printed_document.h" |
| #include "printing/units.h" |
| #include "skia/ext/platform_device.h" |
| +#include "win8/util/win8_util.h" |
| using base::Time; |
| @@ -223,7 +224,7 @@ void PrintingContextWin::AskUserForSettings( |
| #if !defined(USE_AURA) |
| DCHECK(!in_print_job_); |
| - if (base::win::IsMetroProcess()) { |
| + if (win8::IsSingleWindowMetroMode()) { |
| // The system dialog can not be opened while running in Metro. |
|
cpu_(ooo_6.6-7.5)
2012/12/03 20:56:26
this seems incorrect as in ash we don't want this
gab
2012/12/04 00:19:06
This is already precompiled out for AURA builds (s
|
| // But we can programatically launch the Metro print device charm though. |
| HMODULE metro_module = base::win::GetMetroModule(); |