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

Issue 2578873004: Simplify by using the same code for didMoveIntoFrameHost and MoveBetween. (Closed)

Created:
4 years ago by wjmaclean
Modified:
4 years ago
Reviewers:
bokan
CC:
chromium-reviews, blink-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Simplify by using the same code for didMoveIntoFrameHost and MoveBetween. As a precursor step for removing event listener properties prior to moving a node iterator, this CL attempts to simplify the code in EventHandlerRegistry::didMoveBetweenFrameHosts() by having it re-use the existing code in EventHandlerRegistry::didMoveIntoFrameHost(). While this doesn't allow simply skimming the old properties off of the old frameHost, presumably this is still equivalent and efficient enough given that such moves presumably happen infrequently compared to things like drawing frames, etc. BUG= Committed: https://crrev.com/3d89f7fbae8aa451a891f331f1148de173326e78 Cr-Commit-Position: refs/heads/master@{#439499}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -9 lines) Patch
M third_party/WebKit/Source/core/frame/EventHandlerRegistry.cpp View 1 chunk +2 lines, -9 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 17 (11 generated)
wjmaclean
Not sure if this will pass on the bots, but it's worth giving a spin.
4 years ago (2016-12-16 21:31:37 UTC) #5
wjmaclean
On 2016/12/16 21:31:37, wjmaclean wrote: > Not sure if this will pass on the bots, ...
4 years ago (2016-12-19 14:09:26 UTC) #9
bokan
lgtm
4 years ago (2016-12-19 14:25:31 UTC) #10
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/2578873004/1
4 years ago (2016-12-19 14:51:05 UTC) #12
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-19 17:39:05 UTC) #15
commit-bot: I haz the power
4 years ago (2016-12-19 17:41:43 UTC) #17
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/3d89f7fbae8aa451a891f331f1148de173326e78
Cr-Commit-Position: refs/heads/master@{#439499}

Powered by Google App Engine
This is Rietveld 408576698