| Index: cc/trees/latency_info_swap_promise_monitor.cc
|
| diff --git a/cc/trees/latency_info_swap_promise_monitor.cc b/cc/trees/latency_info_swap_promise_monitor.cc
|
| index 9f2bc82fe1d6549820d2c69ee55bf6c9863c0236..23635cd856602edc16c79e355d03f350b9fd7136 100644
|
| --- a/cc/trees/latency_info_swap_promise_monitor.cc
|
| +++ b/cc/trees/latency_info_swap_promise_monitor.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "cc/trees/latency_info_swap_promise_monitor.h"
|
|
|
| +#include <stdint.h>
|
| +
|
| #include "base/threading/platform_thread.h"
|
| #include "cc/output/latency_info_swap_promise.h"
|
| #include "cc/trees/layer_tree_host.h"
|
| @@ -70,14 +72,14 @@ void LatencyInfoSwapPromiseMonitor::OnSetNeedsRedrawOnImpl() {
|
|
|
| void LatencyInfoSwapPromiseMonitor::OnForwardScrollUpdateToMainThreadOnImpl() {
|
| if (AddForwardingScrollUpdateToMainComponent(latency_)) {
|
| - int64 new_sequence_number = 0;
|
| + int64_t new_sequence_number = 0;
|
| for (ui::LatencyInfo::LatencyMap::const_iterator it =
|
| latency_->latency_components().begin();
|
| it != latency_->latency_components().end(); ++it) {
|
| if (it->first.first == ui::INPUT_EVENT_LATENCY_BEGIN_RWH_COMPONENT) {
|
| new_sequence_number =
|
| - ((static_cast<int64>(base::PlatformThread::CurrentId()) << 32) ^
|
| - (reinterpret_cast<uint64>(this) << 32)) |
|
| + ((static_cast<int64_t>(base::PlatformThread::CurrentId()) << 32) ^
|
| + (reinterpret_cast<uint64_t>(this) << 32)) |
|
| (it->second.sequence_number & 0xffffffff);
|
| if (new_sequence_number == it->second.sequence_number)
|
| return;
|
|
|