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

Side by Side Diff: third_party/WebKit/Source/core/html/parser/HTMLElementStack.h

Issue 2080623002: Revert "Remove OwnPtr from Blink." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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) 2010 Google, Inc. All Rights Reserved. 2 * Copyright (C) 2010 Google, Inc. All Rights Reserved.
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 12 matching lines...) Expand all
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 */ 25 */
26 26
27 #ifndef HTMLElementStack_h 27 #ifndef HTMLElementStack_h
28 #define HTMLElementStack_h 28 #define HTMLElementStack_h
29 29
30 #include "core/html/parser/HTMLStackItem.h" 30 #include "core/html/parser/HTMLStackItem.h"
31 #include "wtf/Forward.h" 31 #include "wtf/Forward.h"
32 #include "wtf/Noncopyable.h" 32 #include "wtf/Noncopyable.h"
33 #include "wtf/OwnPtr.h"
34 #include "wtf/PassOwnPtr.h"
33 #include "wtf/RefPtr.h" 35 #include "wtf/RefPtr.h"
34 36
35 namespace blink { 37 namespace blink {
36 38
37 class ContainerNode; 39 class ContainerNode;
38 class Element; 40 class Element;
39 class QualifiedName; 41 class QualifiedName;
40 42
41 // NOTE: The HTML5 spec uses a backwards (grows downward) stack. We're using 43 // NOTE: The HTML5 spec uses a backwards (grows downward) stack. We're using
42 // more standard (grows upwards) stack terminology here. 44 // more standard (grows upwards) stack terminology here.
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 Member<Element> m_headElement; 182 Member<Element> m_headElement;
181 Member<Element> m_bodyElement; 183 Member<Element> m_bodyElement;
182 unsigned m_stackDepth; 184 unsigned m_stackDepth;
183 }; 185 };
184 186
185 WILL_NOT_BE_EAGERLY_TRACED_CLASS(HTMLElementStack::ElementRecord); 187 WILL_NOT_BE_EAGERLY_TRACED_CLASS(HTMLElementStack::ElementRecord);
186 188
187 } // namespace blink 189 } // namespace blink
188 190
189 #endif // HTMLElementStack_h 191 #endif // HTMLElementStack_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698