Index: third_party/WebKit/Source/core/dom/CompositorProxy.cpp |
diff --git a/third_party/WebKit/Source/core/dom/CompositorProxy.cpp b/third_party/WebKit/Source/core/dom/CompositorProxy.cpp |
index 3a5676c04a17110b9c455948d8abc3e5a1bff773..c50fe8c6611bfd1203e576cec51eaeb3f79c77d5 100644 |
--- a/third_party/WebKit/Source/core/dom/CompositorProxy.cpp |
+++ b/third_party/WebKit/Source/core/dom/CompositorProxy.cpp |
@@ -110,7 +110,7 @@ static bool sanityCheckMutableProperties(uint32_t properties) |
{ |
// Ensures that we only have bits set for valid mutable properties. |
uint32_t sanityCheckProperties = properties; |
- for (unsigned i = 0; i < arraysize(allowedProperties); ++i) { |
+ for (unsigned i = 0; i < WTF_ARRAY_LENGTH(allowedProperties); ++i) { |
sanityCheckProperties &= ~static_cast<uint32_t>(allowedProperties[i].property); |
} |
return !sanityCheckProperties; |