Index: gpu/command_buffer/service/gles2_cmd_decoder.cc |
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc |
index 5df36745ff3313717bc76a9447b5e6f38fe9fdd0..e690bc3d6627fa134552246284dd0d56ea7e5381 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc |
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc |
@@ -4706,7 +4706,7 @@ error::Error GLES2DecoderImpl::HandleBindAttribLocation( |
if (name == NULL) { |
return error::kOutOfBounds; |
} |
- String name_str(name, name_size); |
+ std::string name_str(name, name_size); |
DoBindAttribLocation(program, index, name_str.c_str()); |
return error::kNoError; |
} |
@@ -4771,7 +4771,7 @@ error::Error GLES2DecoderImpl::HandleBindUniformLocationCHROMIUM( |
if (name == NULL) { |
return error::kOutOfBounds; |
} |
- String name_str(name, name_size); |
+ std::string name_str(name, name_size); |
DoBindUniformLocationCHROMIUM(program, location, name_str.c_str()); |
return error::kNoError; |
} |
@@ -7621,7 +7621,7 @@ error::Error GLES2DecoderImpl::HandleGetAttribLocation( |
if (!name) { |
return error::kOutOfBounds; |
} |
- String name_str(name, name_size); |
+ std::string name_str(name, name_size); |
return GetAttribLocationHelper( |
c.program, c.location_shm_id, c.location_shm_offset, name_str); |
} |
@@ -7680,7 +7680,7 @@ error::Error GLES2DecoderImpl::HandleGetUniformLocation( |
if (!name) { |
return error::kOutOfBounds; |
} |
- String name_str(name, name_size); |
+ std::string name_str(name, name_size); |
return GetUniformLocationHelper( |
c.program, c.location_shm_id, c.location_shm_offset, name_str); |
} |