Issue FrameDestructionObserver::frameDestroyed() notification on detach.

Send this notification during detach instead of waiting until finalization,
which will typically proceed shortly afterwards (non-Oilpan.)

Doing so provides identical lifetimes for FrameDestructionObserver's
frame reference, with and without Oilpan. Making GC/finalization of frames
not be externally observable is preferable overall.

R=haraken,dcheng
BUG=446452

Review URL: https://codereview.chromium.org/881683003

git-svn-id: svn://svn.chromium.org/blink/trunk@189443 bbb929c8-8fbe-4397-9dbb-9b2b20218538
5 files changed
tree: 7beb5fb3dfd4d50c998068425a0515f718ac1251
  1. third_party/