LGTM. https://codereview.appspot.com/6847046/diff/2001/tools/filtermain.cpp File tools/filtermain.cpp (right): https://codereview.appspot.com/6847046/diff/2001/tools/filtermain.cpp#newcode23 tools/filtermain.cpp:23: SkDebugf(" -o outFile : result of filtering.\n"); Please see comment later about possibly unifying input. Could we just say "--i" and the correct thing happens regardless if it is a directory or single file? https://codereview.appspot.com/6847046/diff/2001/tools/filtermain.cpp#newcode236 tools/filtermain.cpp:236: What happens if we pass a filename to SkOSFile::Iter? If it just iterates over that file we should unify our handling of the path and file.
https://codereview.appspot.com/6847046/diff/2001/tools/filtermain.cpp File tools/filtermain.cpp (right): https://codereview.appspot.com/6847046/diff/2001/tools/filtermain.cpp#newcode236 tools/filtermain.cpp:236: On 2012/11/13 18:44:51, robertphillips wrote: > What happens if we pass a filename to SkOSFile::Iter? If it just iterates over > that file we should unify our handling of the path and file. if passed a file and not a directory the call to iter.next will return false.