diff options
Diffstat (limited to 'tests/ProcessorTest.cpp')
-rw-r--r-- | tests/ProcessorTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ProcessorTest.cpp b/tests/ProcessorTest.cpp index 477618219e..e2840cef5f 100644 --- a/tests/ProcessorTest.cpp +++ b/tests/ProcessorTest.cpp @@ -366,7 +366,7 @@ DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS(ProcessorOptimizationValidationTest, repor auto inputTexture = make_input_texture(context, kRenderSize, kRenderSize); - std::unique_ptr<GrColor> readData(new GrColor[kRenderSize * kRenderSize]); + std::unique_ptr<GrColor[]> readData(new GrColor[kRenderSize * kRenderSize]); // Because processor factories configure themselves in random ways, this is not exhaustive. for (int i = 0; i < FPFactory::Count(); ++i) { int timesToInvokeFactory = 5; |