Index: content/browser/gamepad/gamepad_provider.cc |
diff --git a/content/browser/gamepad/gamepad_provider.cc b/content/browser/gamepad/gamepad_provider.cc |
index 4c00cc1ec4d5ec5a23a6c16e5589023e1faf2883..3c533c3172a6e55bc28a9953349bb975bad91067 100644 |
--- a/content/browser/gamepad/gamepad_provider.cc |
+++ b/content/browser/gamepad/gamepad_provider.cc |
@@ -140,7 +140,7 @@ void GamepadProvider::ScheduleDoPoll() { |
MessageLoop::current()->PostDelayedTask( |
FROM_HERE, |
base::Bind(&GamepadProvider::DoPoll, weak_factory_.GetWeakPtr()), |
- kDesiredSamplingIntervalMs); |
+ base::TimeDelta::FromMilliseconds(kDesiredSamplingIntervalMs)); |
} |
GamepadHardwareBuffer* GamepadProvider::SharedMemoryAsHardwareBuffer() { |