DescriptionAdd DocumentShutdown{Notifier,Observer}
This is a subclass of LifecycleNotifier that classes can use to be notified when
the Document they're attached to is shut down.
SynchronousMutation{Notifier,Observer} provides the same functionality but is
more performance sensitive because it also gets notified when
Node::appendChild() and Node::removeChild() are called.
The idea to add this came from the code review of this CL:
https://codereview.chromium.org/2931443003#msg72
BUG=715365
Review-Url: https://codereview.chromium.org/2939223003
Cr-Commit-Position: refs/heads/master@{#480164}
Committed: https://chromium.googlesource.com/chromium/src/+/afd1411d6b0dbb13fc94314c745755fd76bd763b
Patch Set 1 #
Total comments: 6
Patch Set 2 : Respond to yosin's comments #Patch Set 3 : Add CORE_EXPORT to DocumentShutdownNotifier #Messages
Total messages: 28 (20 generated)
|