Index: tests/GrContextAbandonTest.cpp |
diff --git a/tests/GrContextAbandonTest.cpp b/tests/GrContextAbandonTest.cpp |
index c62973f4da27215ab10da8dc1f309cc1f28ce7db..e1ad8f7de72640d2c8c30469fce40881f89bba02 100644 |
--- a/tests/GrContextAbandonTest.cpp |
+++ b/tests/GrContextAbandonTest.cpp |
@@ -16,10 +16,10 @@ using sk_gpu_test::GrContextFactory; |
DEF_GPUTEST(GrContext_abandonContext, reporter, /*factory*/) { |
for (int testType = 0; testType < 6; ++testType) { |
- for (int i = 0; i < GrContextFactory::kGLContextTypeCnt; ++i) { |
- GrContextFactory testFactory; |
- GrContextFactory::GLContextType ctxType = (GrContextFactory::GLContextType) i; |
- GrContextFactory::ContextInfo info = testFactory.getContextInfo(ctxType); |
+ for (int i = 0; i < GrContextFactory::kContextTypeCnt; ++i) { |
+ GrContextFactory testFactory; |
+ GrContextFactory::ContextType ctxType = (GrContextFactory::ContextType) i; |
+ GrContextFactory::ContextInfo info = testFactory.getContextInfo(ctxType); |
if (GrContext* context = info.fGrContext) { |
switch (testType) { |
case 0: |