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