| 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..4772c5fb949702f6ab8ec7e7ec25980cb885ad9b 100644
|
| --- a/third_party/WebKit/Source/core/testing/Internals.cpp
|
| +++ b/third_party/WebKit/Source/core/testing/Internals.cpp
|
| @@ -2997,8 +2997,8 @@ 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 useCounterId) {
|
| + if (useCounterId >= UseCounter::NumberOfFeatures)
|
| return false;
|
| return UseCounter::isCounted(*document,
|
| static_cast<UseCounter::Feature>(useCounterId));
|
|
|