| Index: ash/system/toast/toast_manager.cc
|
| diff --git a/ash/system/toast/toast_manager.cc b/ash/system/toast/toast_manager.cc
|
| index 1bdde549b0b9fb502b56d07d542713c5573394f6..5d2adc29e16d4acada118d4bd19b768c83a8ccd7 100644
|
| --- a/ash/system/toast/toast_manager.cc
|
| +++ b/ash/system/toast/toast_manager.cc
|
| @@ -13,7 +13,7 @@ namespace ash {
|
| namespace {
|
|
|
| // Minimum duration for a toast to be visible (in millisecond).
|
| -uint64_t kMinimumDurationMs = 200;
|
| +int32_t kMinimumDurationMs = 200;
|
|
|
| } // anonymous namespace
|
|
|
| @@ -72,7 +72,7 @@ void ToastManager::ShowLatest() {
|
| const ToastData data = std::move(queue_.front());
|
| queue_.pop_front();
|
|
|
| - uint64_t duration_ms = std::max(data.duration_ms, kMinimumDurationMs);
|
| + int32_t duration_ms = std::max(data.duration_ms, kMinimumDurationMs);
|
|
|
| current_toast_id_ = data.id;
|
| serial_++;
|
|
|