Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(951)

Unified Diff: content/browser/device_sensors/data_fetcher_shared_memory_base.cc

Issue 604483003: Increase device orientation event frequency to 60 Hz. Change constants (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/device_sensors/data_fetcher_shared_memory_base_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/device_sensors/data_fetcher_shared_memory_base.cc
diff --git a/content/browser/device_sensors/data_fetcher_shared_memory_base.cc b/content/browser/device_sensors/data_fetcher_shared_memory_base.cc
index 429900da81d8954bc988757ce003a01649e1b3a7..c868429a8fe6218b498fbdaf1c968eba8e4db53b 100644
--- a/content/browser/device_sensors/data_fetcher_shared_memory_base.cc
+++ b/content/browser/device_sensors/data_fetcher_shared_memory_base.cc
@@ -207,7 +207,7 @@ DataFetcherSharedMemoryBase::GetType() const {
}
base::TimeDelta DataFetcherSharedMemoryBase::GetInterval() const {
- return base::TimeDelta::FromMilliseconds(kInertialSensorIntervalMillis);
+ return base::TimeDelta::FromMicroseconds(kInertialSensorIntervalMicroseconds);
}
base::SharedMemory* DataFetcherSharedMemoryBase::GetSharedMemory(
« no previous file with comments | « no previous file | content/browser/device_sensors/data_fetcher_shared_memory_base_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698