diff options
author | vitalybuka@chromium.org <vitalybuka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-18 08:01:18 +0000 |
---|---|---|
committer | vitalybuka@chromium.org <vitalybuka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-18 08:01:18 +0000 |
commit | fe6a2155ab2747e45edb850c1f8b8967b09d6ed9 (patch) | |
tree | bf689d64d429f330b125c72679eaddec55ba6204 /printing/backend/win_helper.cc | |
parent | b53ac7144ed14eebe2552afd240491f61121c58c (diff) | |
download | chromium_src-fe6a2155ab2747e45edb850c1f8b8967b09d6ed9.zip chromium_src-fe6a2155ab2747e45edb850c1f8b8967b09d6ed9.tar.gz chromium_src-fe6a2155ab2747e45edb850c1f8b8967b09d6ed9.tar.bz2 |
Removed unnecessary comparison checking bits in DEVMODE::dmFields.
DM_YRESOLUTION check was invalid.
TBR=noamsml
Review URL: https://codereview.chromium.org/170013002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251737 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/backend/win_helper.cc')
-rw-r--r-- | printing/backend/win_helper.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/printing/backend/win_helper.cc b/printing/backend/win_helper.cc index 6710c2c..cfc1a58 100644 --- a/printing/backend/win_helper.cc +++ b/printing/backend/win_helper.cc @@ -432,7 +432,7 @@ scoped_ptr<DEVMODE[]> CreateDevModeWithColor(HANDLE printer, bool color) { scoped_ptr<DEVMODE[]> default = CreateDevMode(printer, NULL); if (default && (default.get()->dmFields & DM_COLOR) && - (default.get()->dmColor == DMCOLOR_COLOR) == color) { + ((default.get()->dmColor == DMCOLOR_COLOR) == color)) { return default.Pass(); } |