Index: content/common/gpu/texture_image_transport_surface.cc |
diff --git a/content/common/gpu/texture_image_transport_surface.cc b/content/common/gpu/texture_image_transport_surface.cc |
index 1673a131ac4f64131dcd26d52909ea9489bb69cd..259131fed86ed4c773a3eeb8d235856344360b0d 100644 |
--- a/content/common/gpu/texture_image_transport_surface.cc |
+++ b/content/common/gpu/texture_image_transport_surface.cc |
@@ -73,11 +73,8 @@ bool TextureImageTransportSurface::Initialize() { |
return false; |
GpuChannel* parent_channel = manager->LookupChannel(handle_.parent_client_id); |
- if (parent_channel) { |
- const CommandLine* command_line = CommandLine::ForCurrentProcess(); |
- if (command_line->HasSwitch(switches::kUIPrioritizeInGpuProcess)) |
- helper_->SetPreemptByFlag(parent_channel->GetPreemptionFlag()); |
- } |
+ if (parent_channel) |
+ helper_->SetPreemptByFlag(parent_channel->GetPreemptionFlag()); |
return true; |
} |