Remove unneeded variables from ResourceCache test
authorbsalomon <bsalomon@google.com>
Tue, 30 Aug 2016 17:27:20 +0000 (10:27 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 30 Aug 2016 17:27:20 +0000 (10:27 -0700)
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2295883002

Review-Url: https://codereview.chromium.org/2295883002

tests/ResourceCacheTest.cpp

index 24a748d..2af2d69 100644 (file)
@@ -1280,8 +1280,6 @@ static void test_abandoned(skiatest::Reporter* reporter) {
 
     // Call all the public methods on resource in the abandoned state. They shouldn't crash.
 
-    int foo = 4132;
-    sk_sp<SkData> data(SkData::MakeWithCopy(&foo, sizeof(foo)));
     resource->getUniqueID();
     resource->getUniqueKey();
     resource->wasDestroyed();