Index: Source/core/svg/graphics/SVGImage.cpp |
diff --git a/Source/core/svg/graphics/SVGImage.cpp b/Source/core/svg/graphics/SVGImage.cpp |
index 8f19468ddfc89ddaaaa10b711f3bcaf86b1253a5..807f97ad8717871a1bd767240579aa60f3b77d1d 100644 |
--- a/Source/core/svg/graphics/SVGImage.cpp |
+++ b/Source/core/svg/graphics/SVGImage.cpp |
@@ -128,7 +128,7 @@ bool SVGImage::currentFrameHasSingleSecurityOrigin() const |
static SVGSVGElement* svgRootElement(Page* page) |
{ |
if (!page) |
- return 0; |
+ return nullptr; |
LocalFrame* frame = toLocalFrame(page->mainFrame()); |
return frame->document()->accessSVGExtensions().rootElement(); |
} |
@@ -329,14 +329,14 @@ LayoutBox* SVGImage::embeddedContentBox() const |
{ |
SVGSVGElement* rootElement = svgRootElement(m_page.get()); |
if (!rootElement) |
- return 0; |
+ return nullptr; |
return toLayoutBox(rootElement->layoutObject()); |
} |
FrameView* SVGImage::frameView() const |
{ |
if (!m_page) |
- return 0; |
+ return nullptr; |
return toLocalFrame(m_page->mainFrame())->view(); |
} |