Index: content/public/test/browser_test_base.cc |
diff --git a/content/public/test/browser_test_base.cc b/content/public/test/browser_test_base.cc |
index 069ba5de1b8fa1c5e6a02788de789d2ca193fd52..91681933c10d8f84f3dc702597933472df033da7 100644 |
--- a/content/public/test/browser_test_base.cc |
+++ b/content/public/test/browser_test_base.cc |
@@ -8,6 +8,7 @@ |
#include "base/command_line.h" |
#include "base/debug/stack_trace.h" |
#include "base/message_loop/message_loop.h" |
+#include "base/sys_info.h" |
#include "content/browser/renderer_host/render_process_host_impl.h" |
#include "content/public/browser/browser_thread.h" |
#include "content/public/common/content_switches.h" |
@@ -33,10 +34,6 @@ |
#include "content/public/browser/browser_thread.h" |
#endif |
-#if defined(OS_CHROMEOS) |
-#include "base/chromeos/chromeos_version.h" |
-#endif |
- |
namespace content { |
namespace { |
@@ -141,7 +138,7 @@ void BrowserTestBase::SetUp() { |
// If the test is running on the chromeos envrionment (such as |
// device or vm bots), the compositor will use real GL contexts, and |
// we should use real GL bindings with it. |
- if (base::chromeos::IsRunningOnChromeOS()) |
+ if (base::SysInfo::IsRunningOnChromeOS()) |
allow_osmesa_ = false; |
#endif |