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

Issue 643143003: Reset all EventHandler data members in EventHandler::clear() (Closed)

Created:
6 years, 2 months ago by majidvp
Modified:
6 years, 1 month ago
CC:
blink-reviews, blink-reviews-events_chromium.org, dglazkov+blink, eae+blinkwatch
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Reset all EventHandler data members in EventHandler::clear() All members are reset with the exception of m_frame which is the pointer to the owner frame. This ensures any residual state is cleared. BUG=270123 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185062

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Add additional comment regarding usage of clear() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -0 lines) Patch
M Source/core/page/EventHandler.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M Source/core/page/EventHandler.cpp View 1 2 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
majidvp
Please review.
6 years, 2 months ago (2014-10-14 13:26:13 UTC) #2
Rick Byers
Duplicating the initialization logic in both the ctor and clear is rather brittle. Perhaps we ...
6 years, 2 months ago (2014-10-14 13:45:00 UTC) #3
Zeeshan Qureshi
nit: Even though there aren't line length restrictions in blink, it's preferred to have commit ...
6 years, 2 months ago (2014-10-14 15:26:53 UTC) #4
majidvp
On 2014/10/14 13:45:00, Rick Byers (Slow until 11-6) wrote: > Duplicating the initialization logic in ...
6 years, 1 month ago (2014-11-04 15:46:35 UTC) #5
Zeeshan Qureshi
> The program removes an iframe as a result of the mousedown event which has ...
6 years, 1 month ago (2014-11-06 21:14:09 UTC) #6
Rick Byers
On 2014/11/04 15:46:35, majidvp wrote: > On 2014/10/14 13:45:00, Rick Byers (Slow until 11-6) wrote: ...
6 years, 1 month ago (2014-11-07 01:41:39 UTC) #7
majidvp
On 2014/11/07 01:41:39, Rick Byers wrote: > On 2014/11/04 15:46:35, majidvp wrote: > > On ...
6 years, 1 month ago (2014-11-10 16:06:12 UTC) #9
Rick Byers
LGTM, thanks! FWIW (In case we haven't discussed testing yet), I don't think it's worth ...
6 years, 1 month ago (2014-11-10 18:04:08 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/643143003/120001
6 years, 1 month ago (2014-11-10 18:07:11 UTC) #12
commit-bot: I haz the power
6 years, 1 month ago (2014-11-10 21:07:03 UTC) #13
Message was sent while issue was closed.
Committed patchset #3 (id:120001) as 185062

Powered by Google App Engine
This is Rietveld 408576698