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

Side by Side Diff: Source/core/html/HTMLFrameSetElement.cpp

Issue 334283004: Rename DOMWindow to LocalDOMWindow (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 6 months 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/html/HTMLFrameSetElement.h ('k') | Source/core/html/ImageDocument.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 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 } 204 }
205 205
206 void HTMLFrameSetElement::willRecalcStyle(StyleRecalcChange) 206 void HTMLFrameSetElement::willRecalcStyle(StyleRecalcChange)
207 { 207 {
208 if (needsStyleRecalc() && renderer()) { 208 if (needsStyleRecalc() && renderer()) {
209 renderer()->setNeedsLayoutAndFullPaintInvalidation(); 209 renderer()->setNeedsLayoutAndFullPaintInvalidation();
210 clearNeedsStyleRecalc(); 210 clearNeedsStyleRecalc();
211 } 211 }
212 } 212 }
213 213
214 DOMWindow* HTMLFrameSetElement::anonymousNamedGetter(const AtomicString& name) 214 LocalDOMWindow* HTMLFrameSetElement::anonymousNamedGetter(const AtomicString& na me)
215 { 215 {
216 Element* frameElement = children()->namedItem(name); 216 Element* frameElement = children()->namedItem(name);
217 if (!isHTMLFrameElement(frameElement)) 217 if (!isHTMLFrameElement(frameElement))
218 return 0; 218 return 0;
219 Document* document = toHTMLFrameElement(frameElement)->contentDocument(); 219 Document* document = toHTMLFrameElement(frameElement)->contentDocument();
220 if (!document || !document->frame()) 220 if (!document || !document->frame())
221 return 0; 221 return 0;
222 return document->domWindow(); 222 return document->domWindow();
223 } 223 }
224 224
225 } // namespace WebCore 225 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/html/HTMLFrameSetElement.h ('k') | Source/core/html/ImageDocument.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698