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

Side by Side Diff: third_party/WebKit/Source/core/html/parser/HTMLTreeBuilder.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 14 matching lines...) Expand all
25 */ 25 */
26 26
27 #ifndef HTMLTreeBuilder_h 27 #ifndef HTMLTreeBuilder_h
28 #define HTMLTreeBuilder_h 28 #define HTMLTreeBuilder_h
29 29
30 #include "core/html/parser/HTMLConstructionSite.h" 30 #include "core/html/parser/HTMLConstructionSite.h"
31 #include "core/html/parser/HTMLElementStack.h" 31 #include "core/html/parser/HTMLElementStack.h"
32 #include "core/html/parser/HTMLParserOptions.h" 32 #include "core/html/parser/HTMLParserOptions.h"
33 #include "platform/heap/Handle.h" 33 #include "platform/heap/Handle.h"
34 #include "wtf/Noncopyable.h" 34 #include "wtf/Noncopyable.h"
35 #include "wtf/PassOwnPtr.h"
35 #include "wtf/PassRefPtr.h" 36 #include "wtf/PassRefPtr.h"
36 #include "wtf/RefPtr.h" 37 #include "wtf/RefPtr.h"
37 #include "wtf/Vector.h" 38 #include "wtf/Vector.h"
38 #include "wtf/text/StringBuilder.h" 39 #include "wtf/text/StringBuilder.h"
39 #include "wtf/text/TextPosition.h" 40 #include "wtf/text/TextPosition.h"
40 41
41 namespace blink { 42 namespace blink {
42 43
43 class AtomicHTMLToken; 44 class AtomicHTMLToken;
44 class DocumentFragment; 45 class DocumentFragment;
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 234
234 Member<Element> m_scriptToProcess; // <script> tag which needs processing be fore resuming the parser. 235 Member<Element> m_scriptToProcess; // <script> tag which needs processing be fore resuming the parser.
235 TextPosition m_scriptToProcessStartPosition; // Starting line number of the script tag needing processing. 236 TextPosition m_scriptToProcessStartPosition; // Starting line number of the script tag needing processing.
236 237
237 HTMLParserOptions m_options; 238 HTMLParserOptions m_options;
238 }; 239 };
239 240
240 } // namespace blink 241 } // namespace blink
241 242
242 #endif 243 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698