| Index: talk/app/webrtc/jsepsessiondescription.cc
|
| diff --git a/talk/app/webrtc/jsepsessiondescription.cc b/talk/app/webrtc/jsepsessiondescription.cc
|
| index 24bd9d4195d911842f0d83465024b50cd2137bcf..226432db6956d63852d536fcb40fc68c778a8ec4 100644
|
| --- a/talk/app/webrtc/jsepsessiondescription.cc
|
| +++ b/talk/app/webrtc/jsepsessiondescription.cc
|
| @@ -29,6 +29,7 @@
|
|
|
| #include "talk/app/webrtc/webrtcsdp.h"
|
| #include "talk/session/media/mediasession.h"
|
| +#include "webrtc/base/arraysize.h"
|
| #include "webrtc/base/stringencode.h"
|
|
|
| using rtc::scoped_ptr;
|
| @@ -44,7 +45,7 @@ static const char* kSupportedTypes[] = {
|
|
|
| static bool IsTypeSupported(const std::string& type) {
|
| bool type_supported = false;
|
| - for (size_t i = 0; i < ARRAY_SIZE(kSupportedTypes); ++i) {
|
| + for (size_t i = 0; i < arraysize(kSupportedTypes); ++i) {
|
| if (kSupportedTypes[i] == type) {
|
| type_supported = true;
|
| break;
|
|
|