Bug 885266: Fix wrong ifdef in ShadowLayersUtilsGralloc; r=kanru

This commit is contained in:
Kyle Machulis 2013-06-21 12:33:12 -07:00
parent e3c9cb90ae
commit 346c0ff7e2

View File

@ -348,7 +348,7 @@ ISurfaceAllocator::PlatformAllocSurfaceDescriptor(const gfxIntSize& aSize,
// Check for Nexus S to disable gralloc. We only check for this on ICS or
// earlier, in hopes that JB will work.
#ifdef ANDROID_VERSION <= 15
#if ANDROID_VERSION <= 15
char propValue[PROPERTY_VALUE_MAX];
property_get("ro.product.device", propValue, "None");
if (strcmp("crespo",propValue) == 0) {