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= Review-Url: https://codereview.chromium.org/2578873004 Cr-Commit-Position: refs/heads/master@{#439499}
Showing
Please register or sign in to comment