Index: src/gpu/GrSurface.cpp |
diff --git a/src/gpu/GrSurface.cpp b/src/gpu/GrSurface.cpp |
index d067f07d0df167512e1259106d52dac4a4bc53b7..37fd73f4f415a82f526a88d018043a1f3bddc3f4 100644 |
--- a/src/gpu/GrSurface.cpp |
+++ b/src/gpu/GrSurface.cpp |
@@ -48,12 +48,6 @@ |
return true; |
} |
-void GrSurface::flushWrites() { |
- if (!this->wasDestroyed()) { |
- this->getContext()->flushSurfaceWrites(this); |
- } |
-} |
- |
bool GrSurface::hasPendingRead() const { |
const GrTexture* thisTex = this->asTexture(); |
if (thisTex && thisTex->internalHasPendingRead()) { |