Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1365)

Unified Diff: tests/VarAllocTest.cpp

Issue 741443002: Revert of SkVarAlloc::approxBytesAllocated (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/core/SkVarAlloc.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/VarAllocTest.cpp
diff --git a/tests/VarAllocTest.cpp b/tests/VarAllocTest.cpp
deleted file mode 100644
index 21534b29e070a0100c2f999986c25334e364ee7d..0000000000000000000000000000000000000000
--- 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);
-}
« no previous file with comments | « src/core/SkVarAlloc.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698