summaryrefslogtreecommitdiff
path: root/third_party/base/stl_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/base/stl_util.h')
-rw-r--r--third_party/base/stl_util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/base/stl_util.h b/third_party/base/stl_util.h
index 0bf442c316..795414b59f 100644
--- a/third_party/base/stl_util.h
+++ b/third_party/base/stl_util.h
@@ -41,7 +41,7 @@ class FakeUniquePtr : public std::unique_ptr<T> {
// size_t size() method return values will be checked.
template <typename ResultType, typename Collection>
ResultType CollectionSize(const Collection& collection) {
- return pdfium::base::checked_cast<ResultType, size_t>(collection.size());
+ return pdfium::base::checked_cast<ResultType>(collection.size());
}
// Track the addition of an object to a set, removing it automatically when