Index: include/gpu/GrProgramElement.h |
diff --git a/include/gpu/GrProgramElement.h b/include/gpu/GrProgramElement.h |
index 67135a3ddb860f7b21894d89c5e47a00a97460ed..6fdc98daa9be963db13a24872a60dbfa85219f98 100644 |
--- a/include/gpu/GrProgramElement.h |
+++ b/include/gpu/GrProgramElement.h |
@@ -71,13 +71,7 @@ protected: |
private: |
void convertRefToPendingExecution() const; |
- void completedExecution() const { |
- this->validate(); |
- --fPendingExecutions; |
- if (0 == fRefCnt && 0 == fPendingExecutions) { |
- SkDELETE(this); |
- } |
- } |
+ void completedExecution() const; |
mutable int32_t fRefCnt; |
// Count of deferred executions not yet issued to the 3D API. |