| Index: printing/print_destination_win.cc
|
| diff --git a/printing/print_destination_win.cc b/printing/print_destination_win.cc
|
| index dc99469121a6acd654d48964677f4c467b8df263..f6ffe74bb6901120ad10b1a11c4bab31e8c496ec 100644
|
| --- a/printing/print_destination_win.cc
|
| +++ b/printing/print_destination_win.cc
|
| @@ -5,6 +5,7 @@
|
| #include "printing/print_destination_interface.h"
|
|
|
| #include "base/win/metro.h"
|
| +#include "win8/util/win8_util.h"
|
|
|
| namespace printing {
|
|
|
| @@ -43,7 +44,7 @@ class PrintDestinationWin : public PrintDestinationInterface {
|
|
|
| PrintDestinationInterface* CreatePrintDestination() {
|
| // We currently only support the Metro print destination.
|
| - if (base::win::IsMetroProcess())
|
| + if (win8::IsSingleWindowMetroMode())
|
| return new PrintDestinationWin;
|
| else
|
| return NULL;
|
|
|