| Index: content/common/inter_process_time_ticks_converter.cc
|
| ===================================================================
|
| --- content/common/inter_process_time_ticks_converter.cc (revision 190428)
|
| +++ content/common/inter_process_time_ticks_converter.cc (working copy)
|
| @@ -48,7 +48,7 @@
|
| }
|
|
|
| LocalTimeTicks InterProcessTimeTicksConverter::ToLocalTimeTicks(
|
| - const RemoteTimeTicks& remote_ms) {
|
| + const RemoteTimeTicks& remote_ms) const {
|
| // If input time is "null", return another "null" time.
|
| if (remote_ms.value_ == 0)
|
| return LocalTimeTicks(0);
|
| @@ -60,12 +60,12 @@
|
| }
|
|
|
| LocalTimeDelta InterProcessTimeTicksConverter::ToLocalTimeDelta(
|
| - const RemoteTimeDelta& remote_delta) {
|
| + const RemoteTimeDelta& remote_delta) const {
|
| DCHECK_GE(remote_upper_bound_, remote_lower_bound_ + remote_delta.value_);
|
| return LocalTimeDelta(Convert(remote_delta.value_));
|
| }
|
|
|
| -int64 InterProcessTimeTicksConverter::Convert(int64 value) {
|
| +int64 InterProcessTimeTicksConverter::Convert(int64 value) const {
|
| if (value <= 0) {
|
| return value;
|
| }
|
|
|