Really fix valgrind issue

TBR=
BUG=skia:

Review URL: https://codereview.chromium.org/795123002
This commit is contained in:
joshualitt 2014-12-11 06:52:01 -08:00 committed by Commit bot
parent 0ac8c786a5
commit f364b61dd8

View File

@ -86,6 +86,8 @@ GrDrawState& GrDrawState::operator=(const GrDrawState& that) {
fColorProcInfoValid = that.fColorProcInfoValid;
fCoverageProcInfoValid = that.fCoverageProcInfoValid;
fColorCache = that.fColorCache;
fCoverageCache = that.fCoverageCache;
if (fColorProcInfoValid) {
fColorProcInfo = that.fColorProcInfo;
}