diff options
Diffstat (limited to 'dm/DM.cpp')
-rw-r--r-- | dm/DM.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -899,6 +899,10 @@ static Sink* create_sink(const GrContextOptions& grCtxOptions, const SkCommandLi } } #endif + if (const SkCommandLineConfigSvg* svgConfig = config->asConfigSvg()) { + int pageIndex = svgConfig->getPageIndex(); + return new SVGSink(pageIndex); + } #define SINK(t, sink, ...) if (config->getBackend().equals(t)) { return new sink(__VA_ARGS__); } |