| Index: ui/base/x/selection_owner.cc
|
| diff --git a/ui/base/x/selection_owner.cc b/ui/base/x/selection_owner.cc
|
| index 73c6d3e1c06cfefa3be34e682c926bb47dfc3ad0..4dbfb09cc998bddd52faf18324db77d5f356797e 100644
|
| --- a/ui/base/x/selection_owner.cc
|
| +++ b/ui/base/x/selection_owner.cc
|
| @@ -40,8 +40,8 @@ const int kTimerPeriodMs = 1000;
|
| // sent by the selection owner before aborting an incremental data transfer.
|
| const int kIncrementalTransferTimeoutMs = 10000;
|
|
|
| -COMPILE_ASSERT(kTimerPeriodMs <= kIncrementalTransferTimeoutMs,
|
| - timer_period_must_be_less_or_equal_to_transfer_timeout);
|
| +static_assert(kTimerPeriodMs <= kIncrementalTransferTimeoutMs,
|
| + "timer period must be <= transfer timeout");
|
|
|
| // Returns a conservative max size of the data we can pass into
|
| // XChangeProperty(). Copied from GTK.
|
|
|