Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(946)

Unified Diff: Source/core/html/HTMLFrameSetElement.cpp

Issue 656723005: Use C++11 features in core/html (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: use nullptr Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
}

Powered by Google App Engine
This is Rietveld 408576698