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

Side by Side Diff: third_party/WebKit/Source/core/dom/ContainerNode.h

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First attempt to land. Created 4 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
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) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2004, 2005, 2006, 2007, 2009, 2010, 2011, 2013 Apple Inc. All r ights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2007, 2009, 2010, 2011, 2013 Apple Inc. All r ights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 10 matching lines...) Expand all
21 * 21 *
22 */ 22 */
23 23
24 #ifndef ContainerNode_h 24 #ifndef ContainerNode_h
25 #define ContainerNode_h 25 #define ContainerNode_h
26 26
27 #include "bindings/core/v8/ExceptionStatePlaceholder.h" 27 #include "bindings/core/v8/ExceptionStatePlaceholder.h"
28 #include "core/CoreExport.h" 28 #include "core/CoreExport.h"
29 #include "core/dom/Node.h" 29 #include "core/dom/Node.h"
30 #include "core/html/CollectionType.h" 30 #include "core/html/CollectionType.h"
31 #include "wtf/OwnPtr.h"
32 #include "wtf/Vector.h" 31 #include "wtf/Vector.h"
33 32
34 namespace blink { 33 namespace blink {
35 34
36 class ClassCollection; 35 class ClassCollection;
37 class ExceptionState; 36 class ExceptionState;
38 class FloatPoint; 37 class FloatPoint;
39 class HTMLCollection; 38 class HTMLCollection;
40 using StaticElementList = StaticNodeTypeList<Element>; 39 using StaticElementList = StaticNodeTypeList<Element>;
41 class TagCollection; 40 class TagCollection;
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 inline void getChildNodes(ContainerNode& node, NodeVector& nodes) 335 inline void getChildNodes(ContainerNode& node, NodeVector& nodes)
337 { 336 {
338 DCHECK(!nodes.size()); 337 DCHECK(!nodes.size());
339 for (Node* child = node.firstChild(); child; child = child->nextSibling()) 338 for (Node* child = node.firstChild(); child; child = child->nextSibling())
340 nodes.append(child); 339 nodes.append(child);
341 } 340 }
342 341
343 } // namespace blink 342 } // namespace blink
344 343
345 #endif // ContainerNode_h 344 #endif // ContainerNode_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698