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 0b5efdb18d0b59a8fff2aec1c1ab5f838b2ebb3d..f200924481a88257e93c35e0abe9dcc9e97293a0 100644 |
--- a/chrome/browser/sync/test/integration/sync_test.cc |
+++ b/chrome/browser/sync/test/integration/sync_test.cc |
@@ -4,11 +4,9 @@ |
#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" |
@@ -857,7 +855,7 @@ |
LOG(ERROR) << "Could not find valid xmpp_port value"; |
return false; |
} |
- if ((xmpp_port <= 0) || (xmpp_port > std::numeric_limits<uint16_t>::max())) { |
+ if ((xmpp_port <= 0) || (xmpp_port > kuint16max)) { |
LOG(ERROR) << "Invalid xmpp port: " << xmpp_port; |
return false; |
} |