| Index: dm/DM.cpp
|
| diff --git a/dm/DM.cpp b/dm/DM.cpp
|
| index 41063b7e8642946a4532aa7df72021edae276fd3..1ea81f8053cc3b257ed1d4aa2fe1f5927aec4fe4 100644
|
| --- a/dm/DM.cpp
|
| +++ b/dm/DM.cpp
|
| @@ -1180,12 +1180,12 @@ void RunWithGPUTestContexts(T test, GPUTestContexts testContexts, Reporter* repo
|
| int contextSelector = kNone_GPUTestContexts;
|
| if (GrContextFactory::IsRenderingGLContext(glCtxType)) {
|
| contextSelector |= kAllRendering_GPUTestContexts;
|
| - }
|
| - if (glCtxType == GrContextFactory::kNative_GLContextType) {
|
| + } else if (glCtxType == GrContextFactory::kNative_GLContextType) {
|
| contextSelector |= kNative_GPUTestContexts;
|
| - }
|
| - if (glCtxType == GrContextFactory::kNull_GLContextType) {
|
| + } else if (glCtxType == GrContextFactory::kNull_GLContextType) {
|
| contextSelector |= kNull_GPUTestContexts;
|
| + } else if (glCtxType == GrContextFactory::kDebug_GLContextType) {
|
| + contextSelector |= kDebug_GPUTestContexts;
|
| }
|
| if ((testContexts & contextSelector) == 0) {
|
| continue;
|
|
|