| Index: Source/core/html/HTMLFrameSetElement.cpp
|
| diff --git a/Source/core/html/HTMLFrameSetElement.cpp b/Source/core/html/HTMLFrameSetElement.cpp
|
| index 01239cbf5a28b037cf2b2e7a2dcad45b72b684a0..b41af5fe81f8c26b83182d2683d32152b4da21f9 100644
|
| --- a/Source/core/html/HTMLFrameSetElement.cpp
|
| +++ b/Source/core/html/HTMLFrameSetElement.cpp
|
| @@ -214,10 +214,10 @@ LocalDOMWindow* HTMLFrameSetElement::anonymousNamedGetter(const AtomicString& na
|
| {
|
| Element* frameElement = children()->namedItem(name);
|
| if (!isHTMLFrameElement(frameElement))
|
| - return 0;
|
| + return nullptr;
|
| Document* document = toHTMLFrameElement(frameElement)->contentDocument();
|
| if (!document || !document->frame())
|
| - return 0;
|
| + return nullptr;
|
| return document->domWindow();
|
| }
|
|
|
|
|