Never (re)start NavigatorGamepad platform event updating once detached.

Extend r187811 to always apply; notifications (event listener additions
or page visibility) may in boundary cases also be delivered once we
are in a frame-detached state. Do not (re)start platform event updating
in that case, as the follow-on sampling depends on being in a non-detached
state.

This is (flakily) invariant on Oilpan being enabled, or not.

R=haraken
BUG=357071

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

git-svn-id: svn://svn.chromium.org/blink/trunk@188893 bbb929c8-8fbe-4397-9dbb-9b2b20218538
3 files changed
tree: 498ca1e8642ee8042a2879ecd6e5cd52a08ca659
  1. third_party/