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

Unified Diff: gpu/config/gpu_info_collector_win.cc

Issue 1575523002: Comparison and streaming operators for base::Version (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes mistake in previous patch set. Created 4 years, 11 months 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 | « extensions/browser/updater/update_service_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/config/gpu_info_collector_win.cc
diff --git a/gpu/config/gpu_info_collector_win.cc b/gpu/config/gpu_info_collector_win.cc
index 66def99bf50dcc3a562c316beaeb4946e23c2c4d..4d2b28d9954416ab69d3d54c51137a7a8c0472fb 100644
--- a/gpu/config/gpu_info_collector_win.cc
+++ b/gpu/config/gpu_info_collector_win.cc
@@ -397,7 +397,7 @@ CollectInfoResult CollectBasicGraphicsInfo(GPUInfo* gpu_info) {
UMA_HISTOGRAM_ENUMERATION("GPU.DisplayLinkInstallationStatus",
DISPLAY_LINK_NOT_INSTALLED,
DISPLAY_LINK_INSTALLATION_STATUS_MAX);
- } else if (gpu_info->display_link_version.IsOlderThan("7.2")) {
+ } else if (gpu_info->display_link_version < base::Version("7.2")) {
UMA_HISTOGRAM_ENUMERATION("GPU.DisplayLinkInstallationStatus",
DISPLAY_LINK_7_1_OR_EARLIER,
DISPLAY_LINK_INSTALLATION_STATUS_MAX);
« no previous file with comments | « extensions/browser/updater/update_service_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698