| Index: chrome/browser/chromeos/dbus/sensors_client.cc
|
| diff --git a/chrome/browser/chromeos/dbus/sensors_client.cc b/chrome/browser/chromeos/dbus/sensors_client.cc
|
| index f8c03f4aa89d2a7afffdeb7c1410c51019794684..cff26c593a45daf6ecbd3fe539d58aef13264b0c 100644
|
| --- a/chrome/browser/chromeos/dbus/sensors_client.cc
|
| +++ b/chrome/browser/chromeos/dbus/sensors_client.cc
|
| @@ -6,7 +6,7 @@
|
|
|
| #include "base/bind.h"
|
| #include "base/callback.h"
|
| -#include "chrome/browser/chromeos/system/runtime_environment.h"
|
| +#include "base/chromeos/chromeos_version.h"
|
| #include "content/public/browser/browser_thread.h"
|
| #include "content/public/browser/sensors_provider.h"
|
| #include "dbus/bus.h"
|
| @@ -94,7 +94,7 @@ SensorsClient::~SensorsClient() {
|
| }
|
|
|
| SensorsClient* SensorsClient::Create(dbus::Bus* bus) {
|
| - if (system::runtime_environment::IsRunningOnChromeOS()) {
|
| + if (base::chromeos::IsRunningOnChromeOS()) {
|
| return new SensorsClientImpl(bus);
|
| } else {
|
| return new SensorsClientStubImpl();
|
|
|