Index: src/core/SkPictureData.cpp |
diff --git a/src/core/SkPictureData.cpp b/src/core/SkPictureData.cpp |
index e5a004ef3ae1590050fbc6f0a641f72126287142..a2d10e3b9b0e1f67ceea0300983c29584db7e9b5 100644 |
--- a/src/core/SkPictureData.cpp |
+++ b/src/core/SkPictureData.cpp |
@@ -30,7 +30,7 @@ SkPictureData::SkPictureData(const SkPictInfo& info) |
void SkPictureData::initForPlayback() const { |
// ensure that the paths bounds are pre-computed |
- if (NULL != fPathHeap.get()) { |
+ if (fPathHeap.get()) { |
for (int i = 0; i < fPathHeap->count(); i++) { |
(*fPathHeap.get())[i].updateBoundsCache(); |
} |
@@ -53,7 +53,7 @@ SkPictureData::SkPictureData(const SkPictureRecord& record, |
SkSafeRef(fStateTree); |
fContentInfo.set(record.fContentInfo); |
- if (NULL != fBoundingHierarchy) { |
+ if (fBoundingHierarchy) { |
fBoundingHierarchy->flushDeferredInserts(); |
} |