Index: chrome/browser/sync/test/integration/sync_test.cc |
diff --git a/chrome/browser/sync/test/integration/sync_test.cc b/chrome/browser/sync/test/integration/sync_test.cc |
index f200924481a88257e93c35e0abe9dcc9e97293a0..0b5efdb18d0b59a8fff2aec1c1ab5f838b2ebb3d 100644 |
--- a/chrome/browser/sync/test/integration/sync_test.cc |
+++ b/chrome/browser/sync/test/integration/sync_test.cc |
@@ -4,9 +4,11 @@ |
#include "chrome/browser/sync/test/integration/sync_test.h" |
+#include <stdint.h> |
+ |
+#include <limits> |
#include <vector> |
-#include "base/basictypes.h" |
#include "base/bind.h" |
#include "base/command_line.h" |
#include "base/guid.h" |
@@ -855,7 +857,7 @@ bool SyncTest::SetUpLocalPythonTestServer() { |
LOG(ERROR) << "Could not find valid xmpp_port value"; |
return false; |
} |
- if ((xmpp_port <= 0) || (xmpp_port > kuint16max)) { |
+ if ((xmpp_port <= 0) || (xmpp_port > std::numeric_limits<uint16_t>::max())) { |
LOG(ERROR) << "Invalid xmpp port: " << xmpp_port; |
return false; |
} |