Index: src/gpu/GrDrawState.h |
diff --git a/src/gpu/GrDrawState.h b/src/gpu/GrDrawState.h |
index 6cefd9776134773a0b2136aadf2e8f03fe7bbb4e..4e226c5eb01327e389bbf398187609a0dde5e3d3 100644 |
--- a/src/gpu/GrDrawState.h |
+++ b/src/gpu/GrDrawState.h |
@@ -983,7 +983,7 @@ public: |
SkDEBUGCODE(fInitialized = true;) |
} |
- void restoreTo(GrDrawState* drawState) { |
+ void restoreTo(GrDrawState* drawState) const { |
SkASSERT(fInitialized); |
drawState->fCommon = fCommon; |
drawState->setRenderTarget(fRenderTarget); |