Index: ash/system/toast/toast_manager_unittest.cc |
diff --git a/ash/system/toast/toast_manager_unittest.cc b/ash/system/toast/toast_manager_unittest.cc |
index d33e68023103aa8cd13fcf28759a376981944320..a5b2e832698c87b69a88a86c9ea562c09a897323 100644 |
--- a/ash/system/toast/toast_manager_unittest.cc |
+++ b/ash/system/toast/toast_manager_unittest.cc |
@@ -16,7 +16,7 @@ |
namespace ash { |
// Long duration so the timeout doesn't occur. |
-const int64_t kLongLongDuration = INT64_MAX; |
+const int32_t kLongLongDuration = INT32_MAX; |
class DummyEvent : public ui::Event { |
public: |
@@ -76,7 +76,7 @@ class ToastManagerTest : public test::AshTestBase { |
Shelf::ForPrimaryDisplay()->SetAutoHideBehavior(behavior); |
} |
- std::string ShowToast(const std::string& text, uint64_t duration) { |
+ std::string ShowToast(const std::string& text, int32_t duration) { |
std::string id = "TOAST_ID_" + base::UintToString(serial_++); |
manager()->Show(ToastData(id, text, duration)); |
return id; |