diff options
author | mtklein <mtklein@google.com> | 2014-11-18 08:15:23 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-11-18 08:15:23 -0800 |
commit | 52b7822fa67e1d587035165258959f9600f8572d (patch) | |
tree | 11db5c7c216add23e75c83a895688f34b067bb45 /tests | |
parent | 6d467ecb8132914ea8a8d6b298d00f4c869e514f (diff) |
Revert of SkVarAlloc::approxBytesAllocated (patchset #5 id:80001 of https://codereview.chromium.org/730193003/)
Reason for revert:
Android needs dlmalloc_usable_size().
Original issue's description:
> SkVarAlloc::approxBytesAllocated()
>
> This is what I was getting at on the other CL.
>
> BUG=skia:
>
> Committed: https://skia.googlesource.com/skia/+/f27f1bcce50c8f95aea8469684a70b70c9baee09
>
> CQ_EXTRA_TRYBOTS=Test-Android-Nexus5-Adreno330-Arm7-Release-Trybot
TBR=reed@google.com,mtklein@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=skia:
Review URL: https://codereview.chromium.org/741443002
Diffstat (limited to 'tests')
-rw-r--r-- | tests/VarAllocTest.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/VarAllocTest.cpp b/tests/VarAllocTest.cpp deleted file mode 100644 index 21534b29e0..0000000000 --- a/tests/VarAllocTest.cpp +++ /dev/null @@ -1,9 +0,0 @@ -#include "Test.h" -#include "SkVarAlloc.h" - -DEF_TEST(VarAlloc, r) { - SkVarAlloc va; - char* p = va.alloc(128, SK_MALLOC_THROW); - sk_bzero(p, 128); // Just checking this is safe. - REPORTER_ASSERT(r, va.approxBytesAllocated() >= 128); -} |