diff options
author | avi <avi@chromium.org> | 2015-12-10 11:41:47 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-10 19:42:59 +0000 |
commit | d0181f31d10f5126e836fd38bd6bf54d4c4d4872 (patch) | |
tree | f94d6cc687a74cb9998e031a6de03a15d07f3fe5 /content/test | |
parent | 2040edbe49bb9dd7dc188607867136c048f9511e (diff) | |
download | chromium_src-d0181f31d10f5126e836fd38bd6bf54d4c4d4872.zip chromium_src-d0181f31d10f5126e836fd38bd6bf54d4c4d4872.tar.gz chromium_src-d0181f31d10f5126e836fd38bd6bf54d4c4d4872.tar.bz2 |
Remove kint32max.
BUG=138542, 488550
Review URL: https://codereview.chromium.org/1499423004
Cr-Commit-Position: refs/heads/master@{#364429}
Diffstat (limited to 'content/test')
-rw-r--r-- | content/test/fileapi_test_file_set.cc | 5 |
1 files changed, 4 insertions, 1 deletions
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 <stdint.h> + +#include <limits> #include <string> #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<int32_t>::max()); ASSERT_EQ(static_cast<int>(content.size()), file.Write(0, content.data(), static_cast<int>(content.size()))); } |