Bug 1379826 - Use static_cast instead of a C style cast in APZ keyboard logs. r=botond

MozReview-Commit-ID: 4ca18ZxQwuL

--HG--
extra : rebase_source : 73b6103697486d9d6b55a5e156abe55b8411ec46
This commit is contained in:
Ryan Hunt 2017-07-10 18:39:04 -04:00
Родитель 3bb1881719
Коммит 0a77e754e4
2 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -190,11 +190,11 @@ public:
mFocusState.ReceiveFocusChangingEvent();
APZ_KEY_LOG("Marking input with type=%d as focus changing with seq=%" PRIu64 "\n",
(int)mEvent.mInputType,
static_cast<int>(mEvent.mInputType),
mFocusState.LastAPZProcessedEvent());
} else {
APZ_KEY_LOG("Marking input with type=%d as non focus changing with seq=%" PRIu64 "\n",
(int)mEvent.mInputType,
static_cast<int>(mEvent.mInputType),
mFocusState.LastAPZProcessedEvent());
}

Просмотреть файл

@ -46,7 +46,7 @@ FocusState::Update(uint64_t aRootLayerTreeId,
FS_LOG("Update with rlt=%" PRIu64 ", olt=%" PRIu64 ", ft=(%d, %" PRIu64 ")\n",
aRootLayerTreeId,
aOriginatingLayersId,
(int)aState.mType,
static_cast<int>(aState.mType),
aState.mSequenceNumber);
// Update the focus tree with the latest target