зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
3bb1881719
Коммит
0a77e754e4
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче