Remove TextTrackCue::notifyRegionWhenRemovingDisplayTree

This method is only called in CueTimeline::removeCue, and in there it's
only used to reset the m_notifyRegion flag in VTTCue temporarily while
calling removeDisplayTree. Remove notifyRegionWhenRemovingDisplayTree
in favor of passing a flag to removeDisplayTree.
In order to achieve this though we need to hoist the submerged call
to removeDisplayTree from TextTrackCue::setIsActive. This in turn makes
it clear that removeDisplayTree was called twice in the relevant
context.

BUG=321654,322434

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

git-svn-id: svn://svn.chromium.org/blink/trunk@190547 bbb929c8-8fbe-4397-9dbb-9b2b20218538
6 files changed
tree: ffee5c6d1378f84d65b2a1f4162aa634ed740d63
  1. third_party/