Index: third_party/WebKit/LayoutTests/sensor/gyroscope.html |
diff --git a/third_party/WebKit/LayoutTests/sensor/gyroscope.html b/third_party/WebKit/LayoutTests/sensor/gyroscope.html |
index fc0250a9c4d15dfdc0bf6a9563c2085de27acbcb..5905ef7d1a1bf118fe2f854fe63d7da14640ddab 100644 |
--- a/third_party/WebKit/LayoutTests/sensor/gyroscope.html |
+++ b/third_party/WebKit/LayoutTests/sensor/gyroscope.html |
@@ -15,13 +15,11 @@ const kDefaultReadingX = 1.12345; |
const kDefaultReadingY = 2.12345; |
const kDefaultReadingZ = 3.12345; |
-function update_sensor_reading(buffer, expects_modified_reading, readsCount) { |
+function update_sensor_reading(buffer) { |
buffer[1] = window.performance.now(); |
buffer[2] = kDefaultReadingX; |
buffer[3] = kDefaultReadingY; |
buffer[4] = kDefaultReadingZ; |
- if (expects_modified_reading) |
- buffer[2] += readsCount; |
} |
function verify_sensor_reading(sensor, should_be_null) { |