Index: src/gpu/GrSurface.cpp |
diff --git a/src/gpu/GrSurface.cpp b/src/gpu/GrSurface.cpp |
index 678755a58f17c1a4b36b563f9b58aa2275e8c668..c052a235f07e023d8b70f878305400288f406274 100644 |
--- a/src/gpu/GrSurface.cpp |
+++ b/src/gpu/GrSurface.cpp |
@@ -125,3 +125,13 @@ bool GrSurface::hasPendingIO() const { |
} |
return false; |
} |
+ |
+void GrSurface::onRelease() { |
+ this->invokeReleaseProc(); |
+ this->INHERITED::onRelease(); |
+} |
+ |
+void GrSurface::onAbandon() { |
+ this->invokeReleaseProc(); |
+ this->INHERITED::onAbandon(); |
+} |