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; |
} |