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

Unified Diff: device/sensors/device_sensor_host.cc

Issue 2812223006: Replace device_sensor browsertest by service unittest. (Closed)
Patch Set: eliminate "unreachable code" warning. Created 3 years, 8 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
Index: device/sensors/device_sensor_host.cc
diff --git a/device/sensors/device_sensor_host.cc b/device/sensors/device_sensor_host.cc
index c0260f4e310ee775b5414a1f2ffbb883468e3572..18fe98912fc3020020cfa3bbb3af7055c66609f3 100644
--- a/device/sensors/device_sensor_host.cc
+++ b/device/sensors/device_sensor_host.cc
@@ -25,8 +25,6 @@ DeviceSensorHost<MojoInterface, consumer_type>::DeviceSensorHost()
: is_started_(false) {
#if defined(OS_ANDROID)
DCHECK(base::MessageLoopForUI::IsCurrent());
-#else
- DCHECK(base::MessageLoopForIO::IsCurrent());
#endif
}
« no previous file with comments | « content/test/data/device_sensors/device_sensors_null_test_with_alert.html ('k') | device/sensors/device_sensor_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698