Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1110)

Unified Diff: tests/PointTest.cpp

Issue 1316233002: Style Change: NULL->nullptr (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-08-27 (Thursday) 10:25:06 EDT Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/PixelRefTest.cpp ('k') | tests/PremulAlphaRoundTripTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/PointTest.cpp
diff --git a/tests/PointTest.cpp b/tests/PointTest.cpp
index 08ce7208eb007d25ce93696aa29cd75cb5b7cc37..84ea86582721f207dd37b242bc9c612d998bf6cf 100644
--- a/tests/PointTest.cpp
+++ b/tests/PointTest.cpp
@@ -74,7 +74,7 @@ static float force_as_float(skiatest::Reporter* reporter, float value) {
// even the pair of memcpy calls are not sufficient, since those seem to
// be no-op'd, so we add a runtime tests (just like get_value) to force
// the compiler to give us an actual float.
- if (NULL == reporter) {
+ if (nullptr == reporter) {
storage = ~storage;
}
memcpy(&value, &storage, 4);
« no previous file with comments | « tests/PixelRefTest.cpp ('k') | tests/PremulAlphaRoundTripTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698