Index: tests/ImageTest.cpp |
diff --git a/tests/ImageTest.cpp b/tests/ImageTest.cpp |
index 8485fdad68f67a52e6e8b712597742f800a0b2ee..0a706a5b4adb8fc1a2a22f4d7af306259a6ec15c 100644 |
--- a/tests/ImageTest.cpp |
+++ b/tests/ImageTest.cpp |
@@ -407,7 +407,7 @@ DEF_GPUTEST_FOR_NATIVE_CONTEXT(SkImage_Gpu2Cpu, reporter, context) { |
DEF_GPUTEST_FOR_NATIVE_CONTEXT(SkImage_newTextureImage, reporter, context, glContext) { |
GrContextFactory otherFactory; |
GrContextFactory::ContextInfo otherContextInfo = |
- otherFactory.getContextInfo(GrContextFactory::kNative_GLContextType); |
+ otherFactory.getContextInfo(GrContextFactory::kNativeGL_ContextType); |
glContext->makeCurrent(); |
std::function<sk_sp<SkImage>()> imageFactories[] = { |
@@ -825,7 +825,7 @@ DEF_GPUTEST_FOR_NATIVE_CONTEXT(DeferredTextureImage, reporter, context, glContex |
GrContextFactory otherFactory; |
GrContextFactory::ContextInfo otherContextInfo = |
- otherFactory.getContextInfo(GrContextFactory::kNative_GLContextType); |
+ otherFactory.getContextInfo(GrContextFactory::kNativeGL_ContextType); |
glContext->makeCurrent(); |
REPORTER_ASSERT(reporter, proxy); |