Index: ui/compositor/compositor.cc |
diff --git a/ui/compositor/compositor.cc b/ui/compositor/compositor.cc |
index 47ded5eb690db30f1b9de918503bfbe37e3c8df6..7bb2375dec314401c48605e2d4cd637dd391abf3 100644 |
--- a/ui/compositor/compositor.cc |
+++ b/ui/compositor/compositor.cc |
@@ -14,6 +14,7 @@ |
#include "base/message_loop/message_loop.h" |
#include "base/run_loop.h" |
#include "base/strings/string_util.h" |
+#include "base/sys_info.h" |
#include "base/threading/thread.h" |
#include "base/threading/thread_restrictions.h" |
#include "cc/base/switches.h" |
@@ -38,10 +39,6 @@ |
#include "webkit/common/gpu/grcontext_for_webgraphicscontext3d.h" |
#include "webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h" |
-#if defined(OS_CHROMEOS) |
-#include "base/chromeos/chromeos_version.h" |
-#endif |
- |
namespace { |
const double kDefaultRefreshRate = 60.0; |
@@ -460,7 +457,7 @@ void Compositor::InitializeContextFactoryForTests(bool allow_test_contexts) { |
#if defined(OS_CHROMEOS) |
// If the test is running on the chromeos envrionment (such as |
// device or vm bots), always use real contexts. |
- if (base::chromeos::IsRunningOnChromeOS()) |
+ if (base::SysInfo::IsRunningOnChromeOS()) |
use_test_contexts = false; |
#endif |