Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(172)

Unified Diff: printing/printing_context_win.cc

Issue 702603004: Renamed DISABLE_BASIC_PRINTING and ENABLE_FULL_PRINTING. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tue Nov 4 17:22:50 PST 2014 Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: printing/printing_context_win.cc
diff --git a/printing/printing_context_win.cc b/printing/printing_context_win.cc
index 100eb25b005246a692f18001c13750e4c7b62d87..af0ae513580aea72780f920a34498ac72bf0a563 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)
- return make_scoped_ptr<PrintingContext>(new PrintingContextWin(delegate));
-#else // DISABLE_BASIC_PRINTING
+#if defined(ENABLED_BASIC_PRINTING)
return make_scoped_ptr<PrintingContext>(
new PrintingContextSytemDialogWin(delegate));
-#endif // DISABLE_BASIC_PRINTING
+#else // ENABLED_BASIC_PRINTING
+ return make_scoped_ptr<PrintingContext>(new PrintingContextWin(delegate));
+#endif // ENABLED_BASIC_PRINTING
}
PrintingContextWin::PrintingContextWin(Delegate* delegate)
« build/common.gypi ('K') | « content/renderer/BUILD.gn ('k') | skia/skia_chrome.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698