Index: src/images/SkImageEncoder_Factory.cpp |
diff --git a/src/images/SkImageEncoder_Factory.cpp b/src/images/SkImageEncoder_Factory.cpp |
index 2931d12eae7c42042c53b8f22a83aaae2bc7094a..8d4cc6541be035d5edf4d1b63e43b37005188a4e 100644 |
--- a/src/images/SkImageEncoder_Factory.cpp |
+++ b/src/images/SkImageEncoder_Factory.cpp |
@@ -11,13 +11,13 @@ |
template SkImageEncoder_EncodeReg* SkImageEncoder_EncodeReg::gHead; |
SkImageEncoder* SkImageEncoder::Create(Type t) { |
- SkImageEncoder* codec = NULL; |
+ SkImageEncoder* codec = nullptr; |
const SkImageEncoder_EncodeReg* curr = SkImageEncoder_EncodeReg::Head(); |
while (curr) { |
- if ((codec = curr->factory()(t)) != NULL) { |
+ if ((codec = curr->factory()(t)) != nullptr) { |
return codec; |
} |
curr = curr->next(); |
} |
- return NULL; |
+ return nullptr; |
} |