Chromium Code Reviews| Index: printing/printing_context_win.cc |
| diff --git a/printing/printing_context_win.cc b/printing/printing_context_win.cc |
| index 100eb25b005246a692f18001c13750e4c7b62d87..439a4470975868fe8d6f16bffa27ce5bc4323925 100644 |
| --- a/printing/printing_context_win.cc |
| +++ b/printing/printing_context_win.cc |
| @@ -26,12 +26,12 @@ namespace printing { |
| // static |
| scoped_ptr<PrintingContext> PrintingContext::Create(Delegate* delegate) { |
| -#if defined(DISABLE_BASIC_PRINTING) |
| +#if !defined(ENABLED_BASIC_PRINTING) |
|
Lei Zhang
2014/11/05 00:14:45
Can you flip this around to be:
if (defined(ENABL
Vitaly Buka (NO REVIEWS)
2014/11/05 01:22:08
Done.
|
| return make_scoped_ptr<PrintingContext>(new PrintingContextWin(delegate)); |
| -#else // DISABLE_BASIC_PRINTING |
| +#else // !ENABLED_BASIC_PRINTING |
| return make_scoped_ptr<PrintingContext>( |
| new PrintingContextSytemDialogWin(delegate)); |
| -#endif // DISABLE_BASIC_PRINTING |
| +#endif // !ENABLED_BASIC_PRINTING |
| } |
| PrintingContextWin::PrintingContextWin(Delegate* delegate) |