Index: tools/PictureRenderingFlags.cpp |
diff --git a/tools/PictureRenderingFlags.cpp b/tools/PictureRenderingFlags.cpp |
index 7424d5078671256868c1fdcf516fea2d72b9aed1..45f5891dd627274d6e7196e6072ea453a5356479 100644 |
--- a/tools/PictureRenderingFlags.cpp |
+++ b/tools/PictureRenderingFlags.cpp |
@@ -139,9 +139,10 @@ sk_tools::PictureRenderer* parseRenderer(SkString& error, PictureTool tool) { |
#endif |
} else if (0 == strcmp(mode, "rerecord") && kRender_PictureTool == tool) { |
renderer.reset(SkNEW_ARGS(sk_tools::RecordPictureRenderer, RENDERER_ARGS)); |
- // Allow 'mode' to be set to 'simple', but do not create a renderer, so we can |
- // ensure that pipe does not override a mode besides simple. The renderer will |
- // be created below. |
+ } else if (0 == strcmp(mode, "simple")) { |
+ // Allow 'mode' to be set to 'simple', but do not create a renderer, so we can |
+ // ensure that pipe does not override a mode besides simple. The renderer will |
+ // be created below. |
} else { |
error.printf("%s is not a valid mode for --mode\n", mode); |
return NULL; |