Index: src/gpu/GrDrawingManager.cpp |
diff --git a/src/gpu/GrDrawingManager.cpp b/src/gpu/GrDrawingManager.cpp |
index 4b035bc8638e0e5d7857f905b795bcdbd19b8170..1b01b7afdad950cb574c12e6c212562c776ec25c 100644 |
--- a/src/gpu/GrDrawingManager.cpp |
+++ b/src/gpu/GrDrawingManager.cpp |
@@ -58,7 +58,7 @@ void GrDrawingManager::reset() { |
} |
void GrDrawingManager::flush() { |
- if (fFlushing || this->abandoned()) { |
+ if (fFlushing || this->wasAbandoned()) { |
return; |
} |
fFlushing = true; |
@@ -161,7 +161,7 @@ GrPathRenderer* GrDrawingManager::getPathRenderer(const GrPathRenderer::CanDrawP |
sk_sp<GrDrawContext> GrDrawingManager::drawContext(sk_sp<GrRenderTarget> rt, |
const SkSurfaceProps* surfaceProps) { |
- if (this->abandoned()) { |
+ if (this->wasAbandoned()) { |
return nullptr; |
} |