Index: src/gpu/GrGpu.h |
diff --git a/src/gpu/GrGpu.h b/src/gpu/GrGpu.h |
index 4714d36913fa3da4a435ea6e040fbabaf512f544..1b11c18b0661e8e22fe8691bc72025576fde8d6f 100644 |
--- a/src/gpu/GrGpu.h |
+++ b/src/gpu/GrGpu.h |
@@ -411,6 +411,12 @@ protected: |
*preference = SkTMax(*preference, elevation); |
} |
+ void handleDirtyContext() { |
+ if (fResetBits) { |
+ this->resetContext(); |
+ } |
+ } |
+ |
Stats fStats; |
SkAutoTDelete<GrPathRendering> fPathRendering; |
// Subclass must initialize this in its constructor. |
@@ -486,12 +492,6 @@ private: |
++fResetTimestamp; |
} |
- void handleDirtyContext() { |
- if (fResetBits) { |
- this->resetContext(); |
- } |
- } |
- |
ResetTimestamp fResetTimestamp; |
uint32_t fResetBits; |
// The context owns us, not vice-versa, so this ptr is not ref'ed by Gpu. |