Index: cloud_print/virtual_driver/win/install/setup.cc |
diff --git a/cloud_print/virtual_driver/win/install/setup.cc b/cloud_print/virtual_driver/win/install/setup.cc |
index 70ae0ddd3503146242d82c90fd3bbf7525e50b80..fc353a1665a963012d3ca3c956abe7d1c57f7d2c 100644 |
--- a/cloud_print/virtual_driver/win/install/setup.cc |
+++ b/cloud_print/virtual_driver/win/install/setup.cc |
@@ -257,8 +257,7 @@ HRESULT UninstallPrinter(void) { |
bool IsOSSupported() { |
// We don't support Vista or older. |
- base::win::Version version = base::win::GetVersion(); |
- return (version >= base::win::VERSION_WIN7); |
+ return base::win::GetVersion() >= base::win::VERSION_WIN7; |
} |
HRESULT RegisterVirtualDriver(const base::FilePath& install_path) { |