Commit 89217066 authored by James Hollyer's avatar James Hollyer Committed by Commit Bot

Use kUserInteraction task source for Pointer Lock events

kUserInteraction task source will align the pointer lock events with the
mouse events. It will also help spec consistency.

Bug: 1109007
Change-Id: I6426874161fc772a27640831617e70f941737b2e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2316808Reviewed-by: default avatarJames Hollyer <jameshollyer@chromium.org>
Reviewed-by: default avatarDave Tapuska <dtapuska@chromium.org>
Commit-Queue: James Hollyer <jameshollyer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#791978}
parent 1194dfbf
......@@ -328,7 +328,7 @@ void PointerLockController::EnqueueEvent(const AtomicString& type,
Document* document) {
if (document && document->domWindow()) {
document->domWindow()->EnqueueDocumentEvent(*Event::Create(type),
TaskType::kMiscPlatformAPI);
TaskType::kUserInteraction);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment