From 5a66efbbab2926793a7f4dc57931253ab3046375 Mon Sep 17 00:00:00 2001 From: Robert Phillips Date: Wed, 7 Mar 2018 15:13:18 -0500 Subject: Remove GrRestrictedAtlasManager Philosophically this relies on: https://skia-review.googlesource.com/c/skia/+/111807 (Revise Text & Small Path Atlas so instantiation failure is handled at flush time) Change-Id: I4fdcf1af8c5e9ffefdfb973104045f4f5d223a4e Reviewed-on: https://skia-review.googlesource.com/112702 Reviewed-by: Jim Van Verth Commit-Queue: Robert Phillips --- tests/DrawOpAtlasTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/DrawOpAtlasTest.cpp') diff --git a/tests/DrawOpAtlasTest.cpp b/tests/DrawOpAtlasTest.cpp index a579063f2b..e45ef525a1 100644 --- a/tests/DrawOpAtlasTest.cpp +++ b/tests/DrawOpAtlasTest.cpp @@ -198,7 +198,7 @@ DEF_GPUTEST_FOR_RENDERING_CONTEXTS(GrAtlasTextOpPreparation, reporter, ctxInfo) // Cripple the atlas manager so it can't allocate any pages. This will force a failure // in the preparation of the text op - auto atlasManager = context->contextPriv().getFullAtlasManager(); + auto atlasManager = context->contextPriv().getAtlasManager(); unsigned int numProxies; atlasManager->getProxies(kA8_GrMaskFormat, &numProxies); atlasManager->setMaxPages_TestingOnly(0); -- cgit v1.2.3