Index: src/gpu/GrTest.cpp |
diff --git a/src/gpu/GrTest.cpp b/src/gpu/GrTest.cpp |
index ce98aa764ba11182a87f2911ea6a900c554b36ec..da502732b13aa68cb09450ed6f3fd074583383cb 100644 |
--- a/src/gpu/GrTest.cpp |
+++ b/src/gpu/GrTest.cpp |
@@ -30,6 +30,10 @@ void GrContext::getTestTarget(GrTestTarget* tar) { |
tar->init(this, fDrawingMgr.fDrawTarget); |
} |
+void GrContext::setTextBlobCacheLimit_ForTesting(size_t bytes) { |
+ fTextBlobCache->setBudget(bytes); |
+} |
+ |
/////////////////////////////////////////////////////////////////////////////// |
void GrContext::purgeAllUnlockedResources() { |