Index: content/renderer/gpu/render_widget_compositor.cc |
diff --git a/content/renderer/gpu/render_widget_compositor.cc b/content/renderer/gpu/render_widget_compositor.cc |
index 4bea5949a0bfdb64bdaab8cf0a7832e4bde67a61..33612b0acb372936fd2e6a378a4caad2d6cae38b 100644 |
--- a/content/renderer/gpu/render_widget_compositor.cc |
+++ b/content/renderer/gpu/render_widget_compositor.cc |
@@ -7,14 +7,11 @@ |
#include <limits> |
#include <string> |
-#if defined(OS_ANDROID) |
-#include "base/android/sys_utils.h" |
-#endif |
- |
#include "base/command_line.h" |
#include "base/logging.h" |
#include "base/strings/string_number_conversions.h" |
#include "base/synchronization/lock.h" |
+#include "base/sys_info.h" |
#include "base/time/time.h" |
#include "base/values.h" |
#include "cc/base/latency_info_swap_promise.h" |
@@ -281,11 +278,11 @@ scoped_ptr<RenderWidgetCompositor> RenderWidgetCompositor::Create( |
// RGBA_4444 textures are only enabled for low end devices |
// and are disabled for Android WebView as it doesn't support the format. |
settings.use_rgba_4444_textures = |
- base::android::SysUtils::IsLowEndDevice() && |
+ base::SysInfo::IsLowEndDevice() && |
!widget->UsingSynchronousRendererCompositor(); |
if (widget->UsingSynchronousRendererCompositor()) { |
// TODO(boliu): Set this ratio for Webview. |
- } else if (base::android::SysUtils::IsLowEndDevice()) { |
+ } else if (base::SysInfo::IsLowEndDevice()) { |
// On low-end we want to be very carefull about killing other |
// apps. So initially we use 50% more memory to avoid flickering |
// or raster-on-demand. |