Index: tools/gpu/GrContextFactory.cpp |
diff --git a/tools/gpu/GrContextFactory.cpp b/tools/gpu/GrContextFactory.cpp |
index c40764b109c038ec03227a078bc3576c1237458e..5e6494f77866c56ead1d5d1f60f8b4a287f0ca7e 100644 |
--- a/tools/gpu/GrContextFactory.cpp |
+++ b/tools/gpu/GrContextFactory.cpp |
@@ -12,9 +12,7 @@ |
#if SK_ANGLE |
#include "gl/angle/GLTestContext_angle.h" |
#endif |
-#if SK_COMMAND_BUFFER |
- #include "gl/command_buffer/GLTestContext_command_buffer.h" |
-#endif |
+#include "gl/command_buffer/GLTestContext_command_buffer.h" |
#include "gl/debug/DebugGLTestContext.h" |
#if SK_MESA |
#include "gl/mesa/GLTestContext_mesa.h" |
@@ -128,11 +126,9 @@ ContextInfo GrContextFactory::getContextInfo(ContextType type, ContextOptions op |
glCtx = CreateANGLEOpenGLGLTestContext(); |
break; |
#endif |
-#if SK_COMMAND_BUFFER |
case kCommandBuffer_ContextType: |
glCtx = CommandBufferGLTestContext::Create(); |
break; |
-#endif |
#if SK_MESA |
case kMESA_ContextType: |
glCtx = CreateMesaGLTestContext(); |