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

Unified Diff: printing/backend/print_backend_win.cc

Issue 11641003: Renamed color_capable to color_changeable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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
« no previous file with comments | « printing/backend/print_backend.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/backend/print_backend_win.cc
diff --git a/printing/backend/print_backend_win.cc b/printing/backend/print_backend_win.cc
index e6b229a71516a077155b905963e8db87c5b37a0f..76b68fa8a2bc6e4133e9dc926df1850f1f4fa516 100644
--- a/printing/backend/print_backend_win.cc
+++ b/printing/backend/print_backend_win.cc
@@ -120,11 +120,11 @@ bool PrintBackendWin::GetPrinterSemanticCapsAndDefaults(
// Get printer capabilities. For more info see here:
// http://msdn.microsoft.com/en-us/library/windows/desktop/dd183552(v=vs.85).aspx
- caps.color_capable = (::DeviceCapabilities(info_5.get()->pPrinterName,
- info_5.get()->pPortName,
- DC_COLORDEVICE,
- NULL,
- NULL) == 1);
+ caps.color_changeable = (::DeviceCapabilities(info_5.get()->pPrinterName,
+ info_5.get()->pPortName,
+ DC_COLORDEVICE,
+ NULL,
+ NULL) == 1);
caps.duplex_capable = (::DeviceCapabilities(info_5.get()->pPrinterName,
info_5.get()->pPortName,
@@ -155,7 +155,7 @@ bool PrintBackendWin::GetPrinterSemanticCapsAndDefaults(
}
} else {
LOG(WARNING) << "Fallback to color/simplex mode.";
- caps.color_default = caps.color_capable;
+ caps.color_default = caps.color_changeable;
caps.duplex_default = SIMPLEX;
}
« no previous file with comments | « printing/backend/print_backend.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698