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

Unified Diff: third_party/WebKit/Source/core/frame/Deprecation.cpp

Issue 2701353002: Make explicit constant for num of CSSPropertyIDs (Closed)
Patch Set: Created 3 years, 10 months 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/frame/Deprecation.cpp
diff --git a/third_party/WebKit/Source/core/frame/Deprecation.cpp b/third_party/WebKit/Source/core/frame/Deprecation.cpp
index 79bdd6a332c584f4e1dd0701618b56c95911295e..6c305fa0c2d4a1d5db49ff09b9ae15d55b350e17 100644
--- a/third_party/WebKit/Source/core/frame/Deprecation.cpp
+++ b/third_party/WebKit/Source/core/frame/Deprecation.cpp
@@ -72,7 +72,7 @@ String replacedWillBeRemoved(const char* feature,
namespace blink {
Deprecation::Deprecation() : m_muteCount(0) {
- m_cssPropertyDeprecationBits.ensureSize(lastUnresolvedCSSProperty + 1);
+ m_cssPropertyDeprecationBits.ensureSize(numCSSPropertyIDs);
}
Deprecation::~Deprecation() {}
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSPropertyIDTemplates.h ('k') | third_party/WebKit/Source/core/frame/UseCounter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698