Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(908)

Issue 2635583002: Add UseCounter for setPointerCapture outside dispatch (Closed)

Created:
3 years, 11 months ago by Rick Byers
Modified:
3 years, 10 months ago
CC:
chromium-reviews, blink-reviews, dtapuska+blinkwatch_chromium.org, asvitkine+watch_chromium.org, Navid Zolghadr
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add UseCounter for setPointerCapture outside dispatch Attempt to measure whether any sites might break if setPointerCapture became a no-op outside of a context that was dispatching an event for that pointer. BUG=606896 Review-Url: https://codereview.chromium.org/2635583002 Cr-Commit-Position: refs/heads/master@{#449007} Committed: https://chromium.googlesource.com/chromium/src/+/a7a6a91e6090c759c6699e8062a034fb41900059

Patch Set 1 #

Patch Set 2 : Merge branch 'master' into capture-metrics #

Total comments: 4

Patch Set 3 : CR feedback #

Patch Set 4 : rebase #

Patch Set 5 : rebase #

Patch Set 6 : Rebase again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -5 lines) Patch
M third_party/WebKit/Source/core/frame/UseCounter.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/input/PointerEventManager.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/input/PointerEventManager.cpp View 1 2 3 5 chunks +14 lines, -5 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 30 (19 generated)
Rick Byers
Navid PTAL
3 years, 11 months ago (2017-01-16 20:33:27 UTC) #6
dtapuska
https://codereview.chromium.org/2635583002/diff/20001/third_party/WebKit/Source/core/input/PointerEventManager.cpp File third_party/WebKit/Source/core/input/PointerEventManager.cpp (right): https://codereview.chromium.org/2635583002/diff/20001/third_party/WebKit/Source/core/input/PointerEventManager.cpp#newcode169 third_party/WebKit/Source/core/input/PointerEventManager.cpp:169: m_dispatchingPointerId = pointerId; You able to use an AutoReset ...
3 years, 11 months ago (2017-01-16 21:07:42 UTC) #8
Navid Zolghadr
lgtm https://codereview.chromium.org/2635583002/diff/20001/third_party/WebKit/Source/core/input/PointerEventManager.cpp File third_party/WebKit/Source/core/input/PointerEventManager.cpp (right): https://codereview.chromium.org/2635583002/diff/20001/third_party/WebKit/Source/core/input/PointerEventManager.cpp#newcode635 third_party/WebKit/Source/core/input/PointerEventManager.cpp:635: UseCounter::PointerEventSetCaptureOutsideDispatch); There is one more place (as of ...
3 years, 11 months ago (2017-01-16 21:15:01 UTC) #9
Rick Byers
Thanks. PTAL +rkaplow for metrics OWNER https://codereview.chromium.org/2635583002/diff/20001/third_party/WebKit/Source/core/input/PointerEventManager.cpp File third_party/WebKit/Source/core/input/PointerEventManager.cpp (right): https://codereview.chromium.org/2635583002/diff/20001/third_party/WebKit/Source/core/input/PointerEventManager.cpp#newcode169 third_party/WebKit/Source/core/input/PointerEventManager.cpp:169: m_dispatchingPointerId = pointerId; ...
3 years, 11 months ago (2017-01-20 22:37:22 UTC) #11
rkaplow
lgtm
3 years, 11 months ago (2017-01-20 22:38:35 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2635583002/40001
3 years, 10 months ago (2017-02-04 02:03:34 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/147375) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 10 months ago (2017-02-04 02:05:53 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2635583002/80001
3 years, 10 months ago (2017-02-07 19:44:04 UTC) #22
commit-bot: I haz the power
Failed to apply patch for third_party/WebKit/Source/core/frame/UseCounter.h: While running git apply --index -p1; error: patch failed: ...
3 years, 10 months ago (2017-02-07 22:35:13 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2635583002/100001
3 years, 10 months ago (2017-02-08 14:16:32 UTC) #27
commit-bot: I haz the power
3 years, 10 months ago (2017-02-08 16:22:43 UTC) #30
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/a7a6a91e6090c759c6699e8062a0...

Powered by Google App Engine
This is Rietveld 408576698