Index: tests/GrContextFactoryTest.cpp |
diff --git a/tests/GrContextFactoryTest.cpp b/tests/GrContextFactoryTest.cpp |
index 3b12b832da7848ed94528929fde374ba95d11f78..9b600fa8a407b2045e7eb9430cf9a66c4931563a 100644 |
--- a/tests/GrContextFactoryTest.cpp |
+++ b/tests/GrContextFactoryTest.cpp |
@@ -23,7 +23,7 @@ DEF_GPUTEST(GrContextFactory_NVPRContextOptionHasPathRenderingSupport, reporter, |
for (int i = 0; i < GrContextFactory::kContextTypeCnt; ++i) { |
GrContextFactory::ContextType ctxType = static_cast<GrContextFactory::ContextType>(i); |
GrContext* context = testFactory.get(ctxType, |
- GrContextFactory::kEnableNVPR_ContextOptions); |
+ GrContextFactory::ContextOptions::kEnableNVPR); |
if (!context) { |
continue; |
} |
@@ -57,7 +57,7 @@ DEF_GPUTEST(GrContextFactory_RequiredSRGBSupport, reporter, /*factory*/) { |
for (int i = 0; i < GrContextFactory::kContextTypeCnt; ++i) { |
GrContextFactory::ContextType ctxType = static_cast<GrContextFactory::ContextType>(i); |
GrContext* context = |
- testFactory.get(ctxType, GrContextFactory::kRequireSRGBSupport_ContextOptions); |
+ testFactory.get(ctxType, GrContextFactory::ContextOptions::kRequireSRGBSupport); |
if (context) { |
REPORTER_ASSERT(reporter, context->caps()->srgbSupport()); |