Index: gpu/command_buffer/service/context_group.cc |
diff --git a/gpu/command_buffer/service/context_group.cc b/gpu/command_buffer/service/context_group.cc |
index 3deebc700c16cc8f57bdbaa0973b239e8d000981..ad3dcdf616b3d87fa4d79f33da5187f1df844fea 100644 |
--- a/gpu/command_buffer/service/context_group.cc |
+++ b/gpu/command_buffer/service/context_group.cc |
@@ -290,11 +290,6 @@ bool ContextGroup::Initialize(GLES2Decoder* decoder, |
max_rectangle_texture_size, |
feature_info_->workarounds().max_texture_size); |
} |
- if (feature_info_->workarounds().max_cube_map_texture_size) { |
- max_cube_map_texture_size = std::min( |
- max_cube_map_texture_size, |
- feature_info_->workarounds().max_cube_map_texture_size); |
- } |
texture_manager_.reset(new TextureManager(memory_tracker_.get(), |
feature_info_.get(), |