Index: third_party/WebKit/Source/modules/sensor/MagnetometerReading.cpp |
diff --git a/third_party/WebKit/Source/modules/sensor/MagnetometerReading.cpp b/third_party/WebKit/Source/modules/sensor/MagnetometerReading.cpp |
index 38fdc6a31e294bcf44d178bd47616daf132bc6ae..5270eca003f2a6b16794c2ab377328437dbfc53c 100644 |
--- a/third_party/WebKit/Source/modules/sensor/MagnetometerReading.cpp |
+++ b/third_party/WebKit/Source/modules/sensor/MagnetometerReading.cpp |
@@ -48,7 +48,7 @@ double MagnetometerReading::z() const { |
bool MagnetometerReading::isReadingUpdated( |
const device::SensorReading& previous) const { |
- return previous.values[0] != x() && previous.values[1] != y() && |
+ return previous.values[0] != x() || previous.values[1] != y() || |
previous.values[2] != z(); |
} |