projects
/
platform
/
upstream
/
libSkiaSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a44565
)
Remove unneeded variables from ResourceCache test
author
bsalomon
<bsalomon@google.com>
Tue, 30 Aug 2016 17:27:20 +0000
(10:27 -0700)
committer
Commit 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
patch
|
blob
|
history
diff --git
a/tests/ResourceCacheTest.cpp
b/tests/ResourceCacheTest.cpp
index
24a748d
..
2af2d69
100644
(file)
--- 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();