Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1800)

Unified Diff: content/renderer/render_thread_impl.cc

Issue 2654993004: Move GPU blacklist calculation to GPU proc (Closed)
Patch Set: Feedback + add rest of logic back in Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/renderer/render_thread_impl.cc
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
index 791b768e20150c16dbc36542af686f796eeac3b0..00de399a6cd5a3939a528d140b3b6e5e5191a096 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -777,8 +777,6 @@ void RenderThreadImpl::Init(
#endif
}
- is_gpu_rasterization_enabled_ =
- command_line.HasSwitch(switches::kEnableGpuRasterization);
is_gpu_rasterization_forced_ =
command_line.HasSwitch(switches::kForceGpuRasterization);
is_async_worker_context_enabled_ =
@@ -1495,10 +1493,6 @@ bool RenderThreadImpl::IsGpuRasterizationForced() {
return is_gpu_rasterization_forced_;
}
-bool RenderThreadImpl::IsGpuRasterizationEnabled() {
- return is_gpu_rasterization_enabled_;
-}
-
bool RenderThreadImpl::IsAsyncWorkerContextEnabled() {
return is_async_worker_context_enabled_;
}

Powered by Google App Engine
This is Rietveld 408576698