From d0181f31d10f5126e836fd38bd6bf54d4c4d4872 Mon Sep 17 00:00:00 2001 From: avi Date: Thu, 10 Dec 2015 11:41:47 -0800 Subject: Remove kint32max. BUG=138542, 488550 Review URL: https://codereview.chromium.org/1499423004 Cr-Commit-Position: refs/heads/master@{#364429} --- content/test/fileapi_test_file_set.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'content/test') diff --git a/content/test/fileapi_test_file_set.cc b/content/test/fileapi_test_file_set.cc index f8e14e6..8c2636a 100644 --- a/content/test/fileapi_test_file_set.cc +++ b/content/test/fileapi_test_file_set.cc @@ -4,6 +4,9 @@ #include "content/test/fileapi_test_file_set.h" +#include + +#include #include #include "base/files/file.h" @@ -50,7 +53,7 @@ void SetUpOneFileSystemTestCase(const base::FilePath& root_path, ASSERT_TRUE(file.IsValid()); if (test_case.data_file_size) { std::string content = base::RandBytesAsString(test_case.data_file_size); - EXPECT_LE(test_case.data_file_size, kint32max); + EXPECT_LE(test_case.data_file_size, std::numeric_limits::max()); ASSERT_EQ(static_cast(content.size()), file.Write(0, content.data(), static_cast(content.size()))); } -- cgit v1.1