Index: content/renderer/render_thread_impl.cc |
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc |
index 47662bb15f0929e37da18be1069d8472bcf85126..3cc35594d11eeff91c8515d82c44d4c1c1f70f81 100644 |
--- a/content/renderer/render_thread_impl.cc |
+++ b/content/renderer/render_thread_impl.cc |
@@ -436,6 +436,12 @@ void RenderThreadImpl::Init() { |
} |
} |
+ is_low_res_tiling_enabled_ = !is_gpu_rasterization_enabled_; |
+ if (command_line.HasSwitch(switches::kDisableLowResTiling) && |
+ !command_line.HasSwitch(switches::kEnableLowResTiling)) { |
+ is_low_res_tiling_enabled_ = false; |
+ } |
+ |
// Note that under Linux, the media library will normally already have |
// been initialized by the Zygote before this instance became a Renderer. |
base::FilePath media_path; |