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

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

Issue 2640163004: Replace ENABLE(ASSERT) with DCHECK_IS_ON(). (Closed)
Patch Set: Created 3 years, 11 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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 238
239 DECLARE_TRACE(); 239 DECLARE_TRACE();
240 240
241 private: 241 private:
242 Member<DocumentFragment> m_fragment; 242 Member<DocumentFragment> m_fragment;
243 Member<HTMLStackItem> m_contextElementStackItem; 243 Member<HTMLStackItem> m_contextElementStackItem;
244 }; 244 };
245 245
246 // https://html.spec.whatwg.org/#frameset-ok-flag 246 // https://html.spec.whatwg.org/#frameset-ok-flag
247 bool m_framesetOk; 247 bool m_framesetOk;
248 #if ENABLE(ASSERT) 248 #if DCHECK_IS_ON()
249 bool m_isAttached; 249 bool m_isAttached = true;
250 #endif 250 #endif
251 FragmentParsingContext m_fragmentContext; 251 FragmentParsingContext m_fragmentContext;
252 HTMLConstructionSite m_tree; 252 HTMLConstructionSite m_tree;
253 253
254 // http://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html#in sertion-mode 254 // http://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html#in sertion-mode
255 InsertionMode m_insertionMode; 255 InsertionMode m_insertionMode;
256 256
257 // http://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html#or iginal-insertion-mode 257 // http://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html#or iginal-insertion-mode
258 InsertionMode m_originalInsertionMode; 258 InsertionMode m_originalInsertionMode;
259 259
(...skipping 14 matching lines...) Expand all
274 274
275 // Starting line number of the script tag needing processing. 275 // Starting line number of the script tag needing processing.
276 TextPosition m_scriptToProcessStartPosition; 276 TextPosition m_scriptToProcessStartPosition;
277 277
278 HTMLParserOptions m_options; 278 HTMLParserOptions m_options;
279 }; 279 };
280 280
281 } // namespace blink 281 } // namespace blink
282 282
283 #endif 283 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698