Index: content/renderer/device_sensors/device_light_event_pump.cc |
diff --git a/content/renderer/device_sensors/device_light_event_pump.cc b/content/renderer/device_sensors/device_light_event_pump.cc |
index f2fa5cb6ea0f6a608514dfc26eed3f87bdc25c45..dac1dee6bddfb69166a0628bef2d49ddbf51a787 100644 |
--- a/content/renderer/device_sensors/device_light_event_pump.cc |
+++ b/content/renderer/device_sensors/device_light_event_pump.cc |
@@ -10,7 +10,7 @@ |
namespace { |
// Default delay between subsequent firing of DeviceLight events. |
-const int kDefaultLightPumpDelayMillis = 200; |
+const int kDefaultLightPumpDelayMicroseconds = 1000000 / 5; |
timvolodine
2014/09/25 21:30:51
same here
jdarpinian
2014/09/25 22:36:18
Done.
|
} // namespace |
namespace content { |
@@ -18,7 +18,7 @@ namespace content { |
DeviceLightEventPump::DeviceLightEventPump(RenderThread* thread) |
: DeviceSensorEventPump<blink::WebDeviceLightListener>(thread), |
last_seen_data_(-1) { |
- pump_delay_millis_ = kDefaultLightPumpDelayMillis; |
+ pump_delay_microseconds_ = kDefaultLightPumpDelayMicroseconds; |
} |
DeviceLightEventPump::~DeviceLightEventPump() { |