Changed to Yoda style comparisons where appropriate.
git-svn-id: http://skia.googlecode.com/svn/trunk@5176 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tools/PictureBenchmark.cpp b/tools/PictureBenchmark.cpp
index 379a79b..bb0d9fc 100644
--- a/tools/PictureBenchmark.cpp
+++ b/tools/PictureBenchmark.cpp
@@ -17,7 +17,7 @@
void PipePictureBenchmark::run(SkPicture* pict) {
SkASSERT(pict);
- if (pict == NULL) {
+ if (NULL == pict) {
return;
}
@@ -45,7 +45,7 @@
void RecordPictureBenchmark::run(SkPicture* pict) {
SkASSERT(pict);
- if (pict == NULL) {
+ if (NULL == pict) {
return;
}
@@ -71,7 +71,7 @@
void SimplePictureBenchmark::run(SkPicture* pict) {
SkASSERT(pict);
- if (pict == NULL) {
+ if (NULL == pict) {
return;
}
@@ -99,7 +99,7 @@
void TiledPictureBenchmark::run(SkPicture* pict) {
SkASSERT(pict);
- if (pict == NULL) {
+ if (NULL == pict) {
return;
}
@@ -128,7 +128,7 @@
void UnflattenPictureBenchmark::run(SkPicture* pict) {
SkASSERT(pict);
- if (pict == NULL) {
+ if (NULL == pict) {
return;
}