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

Unified Diff: third_party/WebKit/Source/modules/sensor/SensorProxy.cpp

Issue 2529343002: [sensors] Fix flakiness in generic sensors tests (Closed)
Patch Set: Fixes for review comments from Reilly Created 4 years, 1 month 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 | « third_party/WebKit/Source/modules/sensor/SensorProviderProxy.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/sensor/SensorProxy.cpp
diff --git a/third_party/WebKit/Source/modules/sensor/SensorProxy.cpp b/third_party/WebKit/Source/modules/sensor/SensorProxy.cpp
index 22103b6862f8e50bfbe7b3d9474aec8c457e08f4..5a822175efed08b93f12f9dc00402a041eb18e51 100644
--- a/third_party/WebKit/Source/modules/sensor/SensorProxy.cpp
+++ b/third_party/WebKit/Source/modules/sensor/SensorProxy.cpp
@@ -55,7 +55,7 @@ void SensorProxy::initialize() {
if (m_state != Uninitialized)
return;
- if (!m_provider->sensorProvider()) {
+ if (!m_provider->getSensorProvider()) {
handleSensorError();
return;
}
@@ -63,8 +63,8 @@ void SensorProxy::initialize() {
m_state = Initializing;
auto callback = convertToBaseCallback(
WTF::bind(&SensorProxy::onSensorCreated, wrapWeakPersistent(this)));
- m_provider->sensorProvider()->GetSensor(m_type, mojo::GetProxy(&m_sensor),
- callback);
+ m_provider->getSensorProvider()->GetSensor(m_type, mojo::GetProxy(&m_sensor),
+ callback);
}
void SensorProxy::addConfiguration(
« no previous file with comments | « third_party/WebKit/Source/modules/sensor/SensorProviderProxy.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698