Index: src/gpu/GrLayerHoister.cpp |
diff --git a/src/gpu/GrLayerHoister.cpp b/src/gpu/GrLayerHoister.cpp |
index 2ed5b0ae80e0678ba9be015627ab6386bc511360..ac09df825b4ebe5ab7b26b7322ab3bf22225bcda 100644 |
--- a/src/gpu/GrLayerHoister.cpp |
+++ b/src/gpu/GrLayerHoister.cpp |
@@ -139,7 +139,7 @@ void GrLayerHoister::UnlockLayers(GrLayerCache* layerCache, const SkPicture* pic |
SkPicture::AccelData::Key key = GrAccelData::ComputeAccelDataKey(); |
const SkPicture::AccelData* data = picture->EXPERIMENTAL_getAccelData(key); |
- SkASSERT(NULL != data); |
+ SkASSERT(data); |
const GrAccelData *gpuData = static_cast<const GrAccelData*>(data); |
SkASSERT(0 != gpuData->numSaveLayers()); |