Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(174)

Unified Diff: third_party/WebKit/Source/core/dom/CompositorProxy.cpp

Issue 1548993002: Switch to standard integer types in base/strings/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
« no previous file with comments | « ppapi/shared_impl/private/ppb_char_set_shared.cc ('k') | third_party/WebKit/Source/core/editing/EditingBehavior.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698