Index: src/gpu/glsl/GrGLSLFragmentShaderBuilder.cpp |
diff --git a/src/gpu/glsl/GrGLSLFragmentShaderBuilder.cpp b/src/gpu/glsl/GrGLSLFragmentShaderBuilder.cpp |
index a52b1a638691340757bb1c6c5e4a925f439ef99e..5d1ba511b74b5809f5a2e787b44a994b1a2eacb8 100644 |
--- a/src/gpu/glsl/GrGLSLFragmentShaderBuilder.cpp |
+++ b/src/gpu/glsl/GrGLSLFragmentShaderBuilder.cpp |
@@ -365,7 +365,7 @@ void GrGLSLFragmentShaderBuilder::defineSampleOffsetArray(const char* name, cons |
const GrGpu::MultisampleSpecs& specs = rtp.getMultisampleSpecs(pipeline.getStencil()); |
SkSTArray<16, SkPoint, true> offsets; |
offsets.push_back_n(specs.fEffectiveSampleCnt); |
- m.mapPoints(offsets.begin(), specs.fSampleLocations.get(), specs.fEffectiveSampleCnt); |
+ m.mapPoints(offsets.begin(), specs.fSampleLocations, specs.fEffectiveSampleCnt); |
this->definitions().append("const "); |
if (fProgramBuilder->glslCaps()->usesPrecisionModifiers()) { |
this->definitions().append("highp "); |