Chromium Code Reviews| Index: src/gpu/GrDrawState.h |
| diff --git a/src/gpu/GrDrawState.h b/src/gpu/GrDrawState.h |
| index 78739ec680f4ec728815fd1c3298788beb026783..6cefd9776134773a0b2136aadf2e8f03fe7bbb4e 100644 |
| --- a/src/gpu/GrDrawState.h |
| +++ b/src/gpu/GrDrawState.h |
| @@ -411,6 +411,8 @@ public: |
| } |
| } |
| + bool isSet() const { return NULL != fDrawState; } |
| + |
| private: |
| GrDrawState* fDrawState; |
| int fColorEffectCnt; |