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

Side by Side 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: mike's comments 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 unified diff | Download patch
« no previous file with comments | « Source/core/html/HTMLFrameOwnerElement.cpp ('k') | Source/core/html/HTMLImageElement.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Simon Hausmann (hausmann@kde.org) 4 * (C) 2000 Simon Hausmann (hausmann@kde.org)
5 * (C) 2001 Dirk Mueller (mueller@kde.org) 5 * (C) 2001 Dirk Mueller (mueller@kde.org)
6 * Copyright (C) 2004, 2006, 2009, 2010 Apple Inc. All rights reserved. 6 * Copyright (C) 2004, 2006, 2009, 2010 Apple Inc. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 if (needsStyleRecalc() && renderer()) { 207 if (needsStyleRecalc() && renderer()) {
208 renderer()->setNeedsLayoutAndFullPaintInvalidation(); 208 renderer()->setNeedsLayoutAndFullPaintInvalidation();
209 clearNeedsStyleRecalc(); 209 clearNeedsStyleRecalc();
210 } 210 }
211 } 211 }
212 212
213 LocalDOMWindow* HTMLFrameSetElement::anonymousNamedGetter(const AtomicString& na me) 213 LocalDOMWindow* HTMLFrameSetElement::anonymousNamedGetter(const AtomicString& na me)
214 { 214 {
215 Element* frameElement = children()->namedItem(name); 215 Element* frameElement = children()->namedItem(name);
216 if (!isHTMLFrameElement(frameElement)) 216 if (!isHTMLFrameElement(frameElement))
217 return 0; 217 return nullptr;
218 Document* document = toHTMLFrameElement(frameElement)->contentDocument(); 218 Document* document = toHTMLFrameElement(frameElement)->contentDocument();
219 if (!document || !document->frame()) 219 if (!document || !document->frame())
220 return 0; 220 return nullptr;
221 return document->domWindow(); 221 return document->domWindow();
222 } 222 }
223 223
224 } // namespace blink 224 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/html/HTMLFrameOwnerElement.cpp ('k') | Source/core/html/HTMLImageElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698