diff options
author | joshualitt <joshualitt@chromium.org> | 2015-07-24 11:24:31 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-24 11:24:31 -0700 |
commit | d9f13aef8dead11b65b75076746206161c65a3bd (patch) | |
tree | 02958da0d90b5ebee669715e68439d668f2d5736 /src | |
parent | 37213558e6d269807cde031e59b9567d0db6e471 (diff) |
fix for GrAtlasTextContext occasionally crashes on mixed runs
TBR=bsalomon@google.com
BUG=510931
Review URL: https://codereview.chromium.org/1252423002
Diffstat (limited to 'src')
-rw-r--r-- | src/gpu/GrAtlasTextContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrAtlasTextContext.cpp b/src/gpu/GrAtlasTextContext.cpp index 4c1ef04338..8725aa5c17 100644 --- a/src/gpu/GrAtlasTextContext.cpp +++ b/src/gpu/GrAtlasTextContext.cpp @@ -1265,7 +1265,7 @@ void GrAtlasTextContext::bmpAppendGlyph(GrAtlasTextBlob* blob, int runIndex, PerSubRunInfo* subRun = &run.fSubRunInfo.back(); if (run.fInitialized && subRun->fMaskFormat != format) { - subRun = &run.fSubRunInfo.push_back(); + subRun = &run.push_back(); } run.fInitialized = true; |