зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1511231
- Part 4: s/ProcessPendingColaescedTouchData/ProcessPendingCoalescedTouchData/; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D122723
This commit is contained in:
Родитель
f0fd7b7998
Коммит
f8b397ad5f
|
@ -1568,7 +1568,7 @@ mozilla::ipc::IPCResult BrowserChild::RecvStopIMEStateManagement() {
|
|||
return IPC_OK();
|
||||
}
|
||||
|
||||
void BrowserChild::ProcessPendingColaescedTouchData() {
|
||||
void BrowserChild::ProcessPendingCoalescedTouchData() {
|
||||
MOZ_ASSERT(StaticPrefs::dom_events_coalesce_touchmove());
|
||||
|
||||
if (mCoalescedTouchData.IsEmpty()) {
|
||||
|
@ -1915,7 +1915,7 @@ mozilla::ipc::IPCResult BrowserChild::RecvRealTouchEvent(
|
|||
|
||||
if (StaticPrefs::dom_events_coalesce_touchmove()) {
|
||||
if (aEvent.mMessage == eTouchEnd || aEvent.mMessage == eTouchStart) {
|
||||
ProcessPendingColaescedTouchData();
|
||||
ProcessPendingCoalescedTouchData();
|
||||
}
|
||||
|
||||
if (aEvent.mMessage != eTouchMove) {
|
||||
|
@ -2004,7 +2004,7 @@ mozilla::ipc::IPCResult BrowserChild::RecvRealTouchMoveEvent(
|
|||
} else {
|
||||
// Flush the pending coalesced touch in order to avoid the first
|
||||
// touchmove be overridden by the second one.
|
||||
ProcessPendingColaescedTouchData();
|
||||
ProcessPendingCoalescedTouchData();
|
||||
}
|
||||
return IPC_OK();
|
||||
}
|
||||
|
|
|
@ -673,7 +673,7 @@ class BrowserChild final : public nsMessageManagerScriptExecutor,
|
|||
void FlushAllCoalescedMouseData();
|
||||
void ProcessPendingCoalescedMouseDataAndDispatchEvents();
|
||||
|
||||
void ProcessPendingColaescedTouchData();
|
||||
void ProcessPendingCoalescedTouchData();
|
||||
|
||||
void HandleRealMouseButtonEvent(const WidgetMouseEvent& aEvent,
|
||||
const ScrollableLayerGuid& aGuid,
|
||||
|
|
|
@ -121,7 +121,7 @@ Touch* CoalescedTouchData::GetTouch(int32_t aIdentifier) {
|
|||
|
||||
void CoalescedTouchMoveFlusher::WillRefresh(mozilla::TimeStamp aTime) {
|
||||
MOZ_ASSERT(mRefreshDriver);
|
||||
mBrowserChild->ProcessPendingColaescedTouchData();
|
||||
mBrowserChild->ProcessPendingCoalescedTouchData();
|
||||
}
|
||||
|
||||
CoalescedTouchMoveFlusher::CoalescedTouchMoveFlusher(
|
||||
|
|
Загрузка…
Ссылка в новой задаче