aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/DrawOpAtlasTest.cpp
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2018-03-07 15:13:18 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-03-08 14:29:11 +0000
commit5a66efbbab2926793a7f4dc57931253ab3046375 (patch)
tree5df12b8abca8e8db6fd4a37b38811abef37c117e /tests/DrawOpAtlasTest.cpp
parentfa303398d503a48d054e26dd1582282d3121b8ec (diff)
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 <jvanverth@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'tests/DrawOpAtlasTest.cpp')
-rw-r--r--tests/DrawOpAtlasTest.cpp2
1 files changed, 1 insertions, 1 deletions
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);