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

Unified Diff: content/common/gpu/image_transport_surface_android.cc

Issue 183883023: Remove --ui-prioritize-in-gpu-process (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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
« no previous file with comments | « content/browser/gpu/gpu_process_host.cc ('k') | content/common/gpu/texture_image_transport_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/image_transport_surface_android.cc
diff --git a/content/common/gpu/image_transport_surface_android.cc b/content/common/gpu/image_transport_surface_android.cc
index c5ea3b3b44f726ed462e83e0b9e6ce6588cfc91f..2e4949ad655ba52381f59b45b367c90f8b785af0 100644
--- a/content/common/gpu/image_transport_surface_android.cc
+++ b/content/common/gpu/image_transport_surface_android.cc
@@ -92,11 +92,8 @@ bool ImageTransportSurfaceAndroid::Initialize() {
GpuChannel* parent_channel =
GetHelper()->manager()->LookupChannel(parent_client_id_);
- if (parent_channel) {
- const CommandLine* command_line = CommandLine::ForCurrentProcess();
- if (command_line->HasSwitch(switches::kUIPrioritizeInGpuProcess))
- GetHelper()->SetPreemptByFlag(parent_channel->GetPreemptionFlag());
- }
+ if (parent_channel)
+ GetHelper()->SetPreemptByFlag(parent_channel->GetPreemptionFlag());
return true;
}
« no previous file with comments | « content/browser/gpu/gpu_process_host.cc ('k') | content/common/gpu/texture_image_transport_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698