diff options
author | 2016-04-11 14:40:50 -0700 | |
---|---|---|
committer | 2016-04-11 14:40:50 -0700 | |
commit | fda880710c28a1b0ff0c8c88f90a7659a7ce553f (patch) | |
tree | fda7d308701f484a5d58dd7ac12509a1ef61faca /dm | |
parent | dc0fcd41e75682a8bfd5e285d684461475226330 (diff) |
Convert some unit tests from running on GL contexts to running on all contexts
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1873313002
Review URL: https://codereview.chromium.org/1873313002
Diffstat (limited to 'dm')
-rw-r--r-- | dm/DM.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1442,7 +1442,7 @@ void RunWithGPUTestContexts(GrContextTestFn* test, GrContextTypeFilterFn* contex for (int typeInt = 0; typeInt < GrContextFactory::kContextTypeCnt; ++typeInt) { GrContextFactory::ContextType contextType = (GrContextFactory::ContextType) typeInt; ContextInfo ctxInfo = factory->getContextInfo(contextType); - if (!(*contextTypeFilter)(contextType)) { + if (contextTypeFilter && !(*contextTypeFilter)(contextType)) { continue; } // Use "native" instead of explicitly trying OpenGL and OpenGL ES. Do not use GLES on, |