Index: src/gpu/GrBatchTarget.h |
diff --git a/src/gpu/GrBatchTarget.h b/src/gpu/GrBatchTarget.h |
index f317f3046e9c60786872d369863c4b4227439e5a..61f12d81698224443d55237f6a561503753897ba 100644 |
--- a/src/gpu/GrBatchTarget.h |
+++ b/src/gpu/GrBatchTarget.h |
@@ -104,12 +104,6 @@ public: |
fInlineUploads.reset(); |
} |
- // TODO This goes away when everything uses batch |
- GrBatchTracker* currentBatchTracker() { |
- SkASSERT(!fFlushBuffer.empty()); |
- return &fFlushBuffer.back().fBatchTracker; |
- } |
- |
const GrDrawTargetCaps& caps() const { return *fGpu->caps(); } |
GrResourceProvider* resourceProvider() const { return fGpu->getContext()->resourceProvider(); } |