Index: Source/core/svg/SVGLengthContext.cpp |
diff --git a/Source/core/svg/SVGLengthContext.cpp b/Source/core/svg/SVGLengthContext.cpp |
index 891fffbbb26125cf671dbf28f7b120ee6f06715f..b64cfd4b81ad9e7f96af5aeb5536c1d5ebee22b1 100644 |
--- a/Source/core/svg/SVGLengthContext.cpp |
+++ b/Source/core/svg/SVGLengthContext.cpp |
@@ -56,7 +56,7 @@ static float convertValueFromPercentageToUserUnits(const SVGLength& value, const |
static const ComputedStyle* computedStyleForLengthResolving(const SVGElement* context) |
{ |
if (!context) |
- return 0; |
+ return nullptr; |
const ContainerNode* currentContext = context; |
do { |
@@ -67,13 +67,13 @@ static const ComputedStyle* computedStyleForLengthResolving(const SVGElement* co |
// There must be at least a LayoutSVGRoot layoutObject, carrying a style. |
ASSERT_NOT_REACHED(); |
- return 0; |
+ return nullptr; |
} |
static const ComputedStyle* rootElementStyle(const Node* context) |
{ |
if (!context) |
- return 0; |
+ return nullptr; |
const Document& document = context->document(); |
Node* documentElement = document.documentElement(); |