diff options
author | mtklein <mtklein@chromium.org> | 2014-11-24 08:20:57 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-11-24 08:20:58 -0800 |
commit | 04c96950554b4e416755c5bc23022674518a6e8b (patch) | |
tree | 13d004413f53b90d6bcd953d447c989091f51749 /tests/GpuLayerCacheTest.cpp | |
parent | f2fdc8b746acac9daa94b21d3849f60a87064fd4 (diff) |
Remove Picture deletion listeners.
Looks like we can just have ~SkPicture put the message on the bus directly.
BUG=skia:3144
Review URL: https://codereview.chromium.org/751663002
Diffstat (limited to 'tests/GpuLayerCacheTest.cpp')
-rw-r--r-- | tests/GpuLayerCacheTest.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/GpuLayerCacheTest.cpp b/tests/GpuLayerCacheTest.cpp index 277590eb75..1043a208f5 100644 --- a/tests/GpuLayerCacheTest.cpp +++ b/tests/GpuLayerCacheTest.cpp @@ -53,8 +53,6 @@ static void create_layers(skiatest::Reporter* reporter, REPORTER_ASSERT(reporter, NULL == layer->paint()); REPORTER_ASSERT(reporter, !layer->isAtlased()); } - - cache->trackPicture(&picture); } static void lock_layer(skiatest::Reporter* reporter, |