Index: third_party/WebKit/Source/core/testing/Internals.cpp |
diff --git a/third_party/WebKit/Source/core/testing/Internals.cpp b/third_party/WebKit/Source/core/testing/Internals.cpp |
index 96e83435a308d75ec39b2c25f292262b1f2607c3..6b296764ecb7ec7cd16e12cc461372e87b2e9c34 100644 |
--- a/third_party/WebKit/Source/core/testing/Internals.cpp |
+++ b/third_party/WebKit/Source/core/testing/Internals.cpp |
@@ -2997,11 +2997,11 @@ ValueIterable<int>::IterationSource* Internals::startIteration( |
return new InternalsIterationSource(); |
} |
-bool Internals::isUseCounted(Document* document, int useCounterId) { |
- if (useCounterId < 0 || useCounterId >= UseCounter::NumberOfFeatures) |
+bool Internals::isUseCounted(Document* document, uint32_t feature) { |
+ if (feature >= UseCounter::NumberOfFeatures) |
return false; |
return UseCounter::isCounted(*document, |
- static_cast<UseCounter::Feature>(useCounterId)); |
+ static_cast<UseCounter::Feature>(feature)); |
} |
bool Internals::isCSSPropertyUseCounted(Document* document, |