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

Unified Diff: content/browser/geolocation/wifi_data.cc

Issue 1471693006: Remove kint32min. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@kint3
Patch Set: rebase Created 5 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 | « content/browser/geolocation/wifi_data.h ('k') | media/blink/buffered_resource_loader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/geolocation/wifi_data.cc
diff --git a/content/browser/geolocation/wifi_data.cc b/content/browser/geolocation/wifi_data.cc
index bcfb9811bb784e292e8e16f2efc60b2842c8ea71..fd5a99b392e82e93bc32a5cb5f93ef6594f498b7 100644
--- a/content/browser/geolocation/wifi_data.cc
+++ b/content/browser/geolocation/wifi_data.cc
@@ -4,17 +4,19 @@
#include "content/browser/geolocation/wifi_data.h"
+#include <stdint.h>
+
#include <algorithm>
+#include <limits>
#include "base/logging.h"
namespace content {
AccessPointData::AccessPointData()
- : radio_signal_strength(kint32min),
- channel(kint32min),
- signal_to_noise(kint32min) {
-}
+ : radio_signal_strength(std::numeric_limits<int32_t>::min()),
+ channel(std::numeric_limits<int32_t>::min()),
+ signal_to_noise(std::numeric_limits<int32_t>::min()) {}
AccessPointData::~AccessPointData() {}
« no previous file with comments | « content/browser/geolocation/wifi_data.h ('k') | media/blink/buffered_resource_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698