commit | 89e6f5bacf09333cdb0111bc7d18afdb2cfa8206 | [log] [tgz] |
---|---|---|
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Feb 27 18:43:47 2013 +0000 |
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Feb 27 18:43:47 2013 +0000 |
tree | e159be6f75bd0d9cf03aa7907eb16d9917a186fe | |
parent | 29b19e53cfac5af4f9bd5d361436d1097f349a34 [diff] |
Assign color=0 in GrDrawState.cpp to stop tools from raising false alarms about uninit reads. We were assigning color to oldColor but it in turn would never be read because the valid flags would be cleared. R=jvanverth@google.com Review URL: https://codereview.chromium.org/12313150 git-svn-id: http://skia.googlecode.com/svn/trunk@7886 2bbb7eff-a529-9590-31e7-b0007b416f81