| Index: ui/base/x/selection_requestor.cc
|
| diff --git a/ui/base/x/selection_requestor.cc b/ui/base/x/selection_requestor.cc
|
| index 5cab04fd91e46f5e0e2cf5478b182e07f09dade8..977de29f4b8298703b9a7409f75f27a0712e34d6 100644
|
| --- a/ui/base/x/selection_requestor.cc
|
| +++ b/ui/base/x/selection_requestor.cc
|
| @@ -34,8 +34,8 @@ const int kTimerPeriodMs = 100;
|
| // The amount of time to wait for a request to complete before aborting it.
|
| const int kRequestTimeoutMs = 10000;
|
|
|
| -COMPILE_ASSERT(kTimerPeriodMs <= kRequestTimeoutMs,
|
| - timer_period_must_be_less_or_equal_to_request_timeout);
|
| +static_assert(kTimerPeriodMs <= kRequestTimeoutMs,
|
| + "timer period must be <= request timeout");
|
|
|
| // Combines |data| into a single RefCountedMemory object.
|
| scoped_refptr<base::RefCountedMemory> CombineRefCountedMemory(
|
|
|