Index: webrtc/base/httpcommon.cc |
diff --git a/webrtc/base/httpcommon.cc b/webrtc/base/httpcommon.cc |
index 0c3547e4e71c80bf987317dfea10d93d48e66e28..c90bea51ccaa8510b5925548de5af2cdb4e8ace8 100644 |
--- a/webrtc/base/httpcommon.cc |
+++ b/webrtc/base/httpcommon.cc |
@@ -21,6 +21,7 @@ |
#include <algorithm> |
+#include "webrtc/base/arraysize.h" |
#include "webrtc/base/base64.h" |
#include "webrtc/base/common.h" |
#include "webrtc/base/cryptstring.h" |
@@ -377,7 +378,7 @@ bool HttpDateToSeconds(const std::string& date, time_t* seconds) { |
gmt = non_gmt + ((zone[0] == '+') ? offset : -offset); |
} else { |
size_t zindex; |
- if (!find_string(zindex, zone, kTimeZones, ARRAY_SIZE(kTimeZones))) { |
+ if (!find_string(zindex, zone, kTimeZones, arraysize(kTimeZones))) { |
return false; |
} |
gmt = non_gmt + kTimeZoneOffsets[zindex] * 60 * 60; |