Workaround fix for Visual Studio

Reviewed By: emilsjolander

Differential Revision: D4191268

fbshipit-source-id: 53fdcc388292e76c2b97ad071f0d7c27d0613ecf
This commit is contained in:
Kazuki Sakamoto 2016-11-17 08:56:18 -08:00 коммит произвёл Facebook Github Bot
Родитель 07f67fa225
Коммит c5f6e864f9
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -2519,7 +2519,7 @@ void CSSLog(CSSLogLevel level, const char *format, ...) {
va_end(args); va_end(args);
} }
static bool experimentalFeatures[CSSExperimentalFeatureCount]; static bool experimentalFeatures[CSSExperimentalFeatureCount + 1];
void CSSLayoutSetExperimentalFeatureEnabled(CSSExperimentalFeature feature, bool enabled) { void CSSLayoutSetExperimentalFeatureEnabled(CSSExperimentalFeature feature, bool enabled) {
experimentalFeatures[feature] = enabled; experimentalFeatures[feature] = enabled;

Просмотреть файл

@ -2519,7 +2519,7 @@ void CSSLog(CSSLogLevel level, const char *format, ...) {
va_end(args); va_end(args);
} }
static bool experimentalFeatures[CSSExperimentalFeatureCount]; static bool experimentalFeatures[CSSExperimentalFeatureCount + 1];
void CSSLayoutSetExperimentalFeatureEnabled(CSSExperimentalFeature feature, bool enabled) { void CSSLayoutSetExperimentalFeatureEnabled(CSSExperimentalFeature feature, bool enabled) {
experimentalFeatures[feature] = enabled; experimentalFeatures[feature] = enabled;