RESOLVED FIXED 170468
Change Document's lastHandledUserGestureTimestamp to be a MonotonicTime
https://bugs.webkit.org/show_bug.cgi?id=170468
Summary Change Document's lastHandledUserGestureTimestamp to be a MonotonicTime
Simon Fraser (smfr)
Reported 2017-04-04 13:48:50 PDT
Change Document's lastHandledUserGestureTimestamp to be a MonotonicTime
Attachments
Patch (5.27 KB, patch)
2017-04-04 13:49 PDT, Simon Fraser (smfr)
zalan: review+
Simon Fraser (smfr)
Comment 1 2017-04-04 13:49:31 PDT
Simon Fraser (smfr)
Comment 2 2017-04-04 14:32:58 PDT
Chris Dumez
Comment 3 2017-04-04 14:32:59 PDT
Comment on attachment 306196 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=306196&action=review > Source/WebCore/loader/FrameLoader.cpp:3039 > + bool userDidInteractWithPage = static_cast<bool>(document.topDocument().lastHandledUserGestureTimestamp()); I personally like: !!document.topDocument().lastHandledUserGestureTimestamp() for this sort of things as it is shorter than a cast.
Note You need to log in before you can comment on or make changes to this bug.