aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2016-08-30 10:27:20 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-08-30 10:27:20 -0700
commit752f6ea78e16537ae6d90af1e96f940c032b6f2c (patch)
treee2b17e27d9f467bbda0ec8189c3c8682235ff153
parent9a44565e9946629c4ee776fb859d168eb953da71 (diff)
Remove unneeded variables from ResourceCache test
-rw-r--r--tests/ResourceCacheTest.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/ResourceCacheTest.cpp b/tests/ResourceCacheTest.cpp
index 24a748d371..2af2d69e8e 100644
--- a/tests/ResourceCacheTest.cpp
+++ b/tests/ResourceCacheTest.cpp
@@ -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();