Chromium Code Reviews| Index: tools/PictureRenderer.cpp |
| diff --git a/tools/PictureRenderer.cpp b/tools/PictureRenderer.cpp |
| index 700d3d39824fc4115bd39c3737fba29537da20e4..c491e8682260438a4021f94e5d7673fc946e4320 100644 |
| --- a/tools/PictureRenderer.cpp |
| +++ b/tools/PictureRenderer.cpp |
| @@ -139,6 +139,10 @@ SkCanvas* PictureRenderer::setupCanvas(int width, int height) { |
| case kAngle_DeviceType: |
| // fall through |
| #endif |
| +#if SK_COMMAND_BUFFER |
| + case kCommandBuffer_DeviceType: |
| + // fall through |
| +#endif |
| #if SK_MESA |
| case kMesa_DeviceType: |
| // fall through |