| Index: gpu/command_buffer/service/vertex_array_manager.cc
|
| diff --git a/gpu/command_buffer/service/vertex_array_manager.cc b/gpu/command_buffer/service/vertex_array_manager.cc
|
| index 1560c043c25e9964db98709cf9a425baf73db600..974751941ce4a41fdbcc5efe596560db1995bed5 100644
|
| --- a/gpu/command_buffer/service/vertex_array_manager.cc
|
| +++ b/gpu/command_buffer/service/vertex_array_manager.cc
|
| @@ -28,22 +28,14 @@ void VertexArrayManager::Destroy(bool have_context) {
|
| vertex_attrib_managers_.clear();
|
| }
|
|
|
| -scoped_refptr<VertexAttribManager>
|
| -VertexArrayManager::CreateVertexAttribManager(GLuint client_id,
|
| - GLuint service_id,
|
| - uint32 num_vertex_attribs,
|
| - bool client_visible) {
|
| +void VertexArrayManager::CreateVertexAttribManager(
|
| + GLuint client_id, GLuint service_id, uint32 num_vertex_attribs) {
|
| scoped_refptr<VertexAttribManager> vertex_attrib_manager(
|
| new VertexAttribManager(this, service_id, num_vertex_attribs));
|
| -
|
| - if (client_visible) {
|
| - std::pair<VertexAttribManagerMap::iterator, bool> result =
|
| - vertex_attrib_managers_.insert(
|
| - std::make_pair(client_id, vertex_attrib_manager));
|
| - DCHECK(result.second);
|
| - }
|
| -
|
| - return vertex_attrib_manager;
|
| + std::pair<VertexAttribManagerMap::iterator, bool> result =
|
| + vertex_attrib_managers_.insert(
|
| + std::make_pair(client_id, vertex_attrib_manager));
|
| + DCHECK(result.second);
|
| }
|
|
|
| VertexAttribManager* VertexArrayManager::GetVertexAttribManager(
|
|
|