Match the sensor event firing frequency and the fetch frequency in the browser.
Since the default hardware sensor fetch frequency is currently
max 20Hz, this patch makes the renderer-side sensor event pump
poll frequency match the hardware fetch frequency to avoid
confusion in Blink. That way the reported interval property of
the Device Motion events will match the actual interval at which
the events are fired into Blink.
BUG=261165
TEST=http://jsbin.com/device-inertial-sensor-diagnostics/latest (manual)
TBR=mvanouwerkerk@chromium.org
Review URL: https://codereview.chromium.org/
32823007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230879 0039d316-1c4b-4281-b951-d872f2087c98