| Index: src/gpu/GrGpu.cpp
|
| diff --git a/src/gpu/GrGpu.cpp b/src/gpu/GrGpu.cpp
|
| index afeeda7ae61eefe802acf0efadf3f32918d5bed4..512ce9b687ee95f3441328367388da3906e08a09 100644
|
| --- a/src/gpu/GrGpu.cpp
|
| +++ b/src/gpu/GrGpu.cpp
|
| @@ -477,7 +477,7 @@ const GrGpu::MultisampleSpecs& GrGpu::getMultisampleSpecs(GrRenderTarget* rt,
|
| return specs;
|
| }
|
| const MultisampleSpecs& specs = *new (&fMultisampleSpecsAllocator)
|
| - MultisampleSpecs{effectiveKey, effectiveSampleCnt, locations.detach()};
|
| + MultisampleSpecs{effectiveKey, effectiveSampleCnt, locations.release()};
|
| if (fMultisampleSpecsMap.count() <= effectiveKey) {
|
| int n = 1 + effectiveKey - fMultisampleSpecsMap.count();
|
| fMultisampleSpecsMap.push_back_n(n, (const MultisampleSpecs*) nullptr);
|
|
|