Fix build

Change-Id: I1ad30ae50cbdff9267d0121a446e6adbe3ad17ee
This commit is contained in:
Chris Craik
2016-02-05 18:17:35 -08:00
parent 6913d30f1c
commit 62cd9e4a72

View File

@@ -26,7 +26,7 @@ using namespace android::uirenderer;
RENDERTHREAD_TEST(GradientCache, addRemove) {
Extensions extensions;
GradientCache cache(extensions);
cache.setMaxSize(5000);
ASSERT_LT(1000u, cache.getMaxSize()) << "Expect non-trivial size";
SkColor colors[] = { 0xFF00FF00, 0xFFFF0000, 0xFF0000FF };
float positions[] = { 1, 2, 3 };