aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/GpuLayerCacheTest.cpp
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2014-11-24 08:20:57 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-11-24 08:20:58 -0800
commit04c96950554b4e416755c5bc23022674518a6e8b (patch)
tree13d004413f53b90d6bcd953d447c989091f51749 /tests/GpuLayerCacheTest.cpp
parentf2fdc8b746acac9daa94b21d3849f60a87064fd4 (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.cpp2
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,