From 04c96950554b4e416755c5bc23022674518a6e8b Mon Sep 17 00:00:00 2001 From: mtklein Date: Mon, 24 Nov 2014 08:20:57 -0800 Subject: 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 --- tests/GpuLayerCacheTest.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'tests/GpuLayerCacheTest.cpp') 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, -- cgit v1.2.3