Index: src/gpu/effects/GrPorterDuffXferProcessor.cpp |
diff --git a/src/gpu/effects/GrPorterDuffXferProcessor.cpp b/src/gpu/effects/GrPorterDuffXferProcessor.cpp |
index 4a86aab9c923b7b4e89515eb1434e487d77627b6..ff857f4e0df62b72f4275c0b65526765da194ab4 100644 |
--- a/src/gpu/effects/GrPorterDuffXferProcessor.cpp |
+++ b/src/gpu/effects/GrPorterDuffXferProcessor.cpp |
@@ -600,11 +600,11 @@ PDLCDXferProcessor::PDLCDXferProcessor(GrColor blendConstant, uint8_t alpha) |
GrXferProcessor* PDLCDXferProcessor::Create(SkXfermode::Mode xfermode, |
const GrProcOptInfo& colorPOI) { |
if (SkXfermode::kSrcOver_Mode != xfermode) { |
- return NULL; |
+ return nullptr; |
} |
if (kRGBA_GrColorComponentFlags != colorPOI.validFlags()) { |
- return NULL; |
+ return nullptr; |
} |
GrColor blendConstant = GrUnPreMulColor(colorPOI.color()); |
@@ -673,7 +673,7 @@ GrXPFactory* GrPorterDuffXPFactory::Create(SkXfermode::Mode xfermode) { |
GR_STATIC_ASSERT(SK_ARRAY_COUNT(gFactories) == SkXfermode::kLastCoeffMode + 1); |
if (xfermode < 0 || xfermode > SkXfermode::kLastCoeffMode) { |
- return NULL; |
+ return nullptr; |
} |
return SkRef(gFactories[xfermode]); |
} |