diff --git a/tools/skqp/src/skqp.cpp b/tools/skqp/src/skqp.cpp index e2180de29d..315b6e8a10 100644 --- a/tools/skqp/src/skqp.cpp +++ b/tools/skqp/src/skqp.cpp @@ -456,7 +456,7 @@ void SkQP::makeReport() { } const char* backendName = SkQP::GetBackendName(run.fBackend); std::string gmName = SkQP::GetGMName(run.fGM); - SkQP::RenderOutcome outcome; + const SkQP::RenderOutcome& outcome = run.fOutcome; auto str = SkStringPrintf("\"%s\",\"%s\",%d,%d,%" PRId64, backendName, gmName.c_str(), outcome.fMaxError, outcome.fBadPixelCount, outcome.fTotalError); write(&csvOut, SkStringPrintf("%s\n", str.c_str()));