Index: Source/core/css/CSSGradientValue.cpp |
diff --git a/Source/core/css/CSSGradientValue.cpp b/Source/core/css/CSSGradientValue.cpp |
index a5bbb783054c295e465c4f5203b4ddac091cc2b2..8abfbbefdcbf4dffc018bb8aa665b0729094a77e 100644 |
--- a/Source/core/css/CSSGradientValue.cpp |
+++ b/Source/core/css/CSSGradientValue.cpp |
@@ -52,12 +52,12 @@ void CSSGradientColorStop::trace(Visitor* visitor) |
PassRefPtr<Image> CSSGradientValue::image(RenderObject* renderer, const IntSize& size) |
{ |
if (size.isEmpty()) |
- return 0; |
+ return nullptr; |
bool cacheable = isCacheable(); |
if (cacheable) { |
if (!clients().contains(renderer)) |
- return 0; |
+ return nullptr; |
// Need to look up our size. Create a string of width*height to use as a hash key. |
Image* result = getImage(renderer, size); |
@@ -131,7 +131,7 @@ PassRefPtrWillBeRawPtr<CSSGradientValue> CSSGradientValue::gradientWithStylesRes |
result = toCSSRadialGradientValue(this)->clone(); |
else { |
ASSERT_NOT_REACHED(); |
- return 0; |
+ return nullptr; |
} |
for (unsigned i = 0; i < result->m_stops.size(); i++) |