| Index: services/gles2/command_buffer_type_conversions.cc
|
| diff --git a/services/gles2/command_buffer_type_conversions.cc b/services/gles2/command_buffer_type_conversions.cc
|
| index d08ec4d4cec485468b6ea30d33b21c6b598158b5..2f2858c2aa49c4b16e6271476e3dd8345e6b3277 100644
|
| --- a/services/gles2/command_buffer_type_conversions.cc
|
| +++ b/services/gles2/command_buffer_type_conversions.cc
|
| @@ -17,7 +17,7 @@ TypeConverter<CommandBufferStatePtr, gpu::CommandBuffer::State>::Convert(
|
| result->error = input.error;
|
| result->context_lost_reason = input.context_lost_reason;
|
| result->generation = input.generation;
|
| - return result.Pass();
|
| + return result;
|
| }
|
|
|
| gpu::CommandBuffer::State
|
| @@ -40,7 +40,7 @@ TypeConverter<GpuShaderPrecisionPtr, gpu::Capabilities::ShaderPrecision>::
|
| result->min_range = input.min_range;
|
| result->max_range = input.max_range;
|
| result->precision = input.precision;
|
| - return result.Pass();
|
| + return result;
|
| }
|
|
|
| gpu::Capabilities::ShaderPrecision TypeConverter<
|
| @@ -63,7 +63,7 @@ TypeConverter<GpuPerStagePrecisionsPtr, gpu::Capabilities::PerStagePrecisions>::
|
| result->low_float = GpuShaderPrecision::From(input.low_float);
|
| result->medium_float = GpuShaderPrecision::From(input.medium_float);
|
| result->high_float = GpuShaderPrecision::From(input.high_float);
|
| - return result.Pass();
|
| + return result;
|
| }
|
|
|
| gpu::Capabilities::PerStagePrecisions TypeConverter<
|
| @@ -121,7 +121,7 @@ TypeConverter<GpuCapabilitiesPtr, gpu::Capabilities>::Convert(
|
| result->blend_equation_advanced = input.blend_equation_advanced;
|
| result->blend_equation_advanced_coherent =
|
| input.blend_equation_advanced_coherent;
|
| - return result.Pass();
|
| + return result;
|
| }
|
|
|
| gpu::Capabilities TypeConverter<gpu::Capabilities, GpuCapabilitiesPtr>::Convert(
|
|
|