Index: chrome/browser/component_updater/cld_component_installer_unittest.cc |
diff --git a/chrome/browser/component_updater/cld_component_installer_unittest.cc b/chrome/browser/component_updater/cld_component_installer_unittest.cc |
index aa19c256d33f23c3ceb0daea83af1270eb68ff90..f83565be3c7584040d4326c6e22a1b23dcb0096d 100644 |
--- a/chrome/browser/component_updater/cld_component_installer_unittest.cc |
+++ b/chrome/browser/component_updater/cld_component_installer_unittest.cc |
@@ -2,6 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#include <stddef.h> |
#include <stdint.h> |
#include <vector> |
@@ -86,7 +87,7 @@ TEST_F(CldComponentInstallerTest, VerifyInstallation) { |
ASSERT_TRUE(base::CreateDirectory(data_file_dir)); |
const base::FilePath data_file = data_file_dir.Append(kTestCldDataFileName); |
const std::string test_data("fake cld2 data file content here :)"); |
- ASSERT_EQ(static_cast<int32>(test_data.length()), |
+ ASSERT_EQ(static_cast<int32_t>(test_data.length()), |
base::WriteFile(data_file, test_data.c_str(), test_data.length())); |
ASSERT_TRUE(traits_.VerifyInstallation(manifest, temp_dir_.path())); |
} |