DM: don't leak the null canvas in NullSink.
authormtklein <mtklein@chromium.org>
Fri, 13 Feb 2015 23:11:10 +0000 (15:11 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 13 Feb 2015 23:11:10 +0000 (15:11 -0800)
commitad66f9b15fd44468b5f013534ee333dc68d6bed6
tree37bfc6995b4b27b4ed6e05fd784add645f25f6a6
parent694b0d115d5efcd663c422d316d2cf3abaa1d354
DM: don't leak the null canvas in NullSink.

Also make NullSink a real boy: declared among the other Sinks, impl in .cpp.

BUG=skia:

Review URL: https://codereview.chromium.org/922293003
dm/DMSrcSink.cpp
dm/DMSrcSink.h