Commit 7cbf49f6 authored by Dominic Farolino's avatar Dominic Farolino Committed by Commit Bot

Change CreateElementFlags CHECK => DCHECK

Bug: 1086507

Change-Id: I436c60c82bdf9214638bcc7cefb10db158705646
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2264923Reviewed-by: default avatarMason Freed <masonfreed@chromium.org>
Commit-Queue: Dominic Farolino <dom@chromium.org>
Cr-Commit-Position: refs/heads/master@{#782168}
parent 05dae026
...@@ -57,8 +57,7 @@ class CreateElementFlags { ...@@ -57,8 +57,7 @@ class CreateElementFlags {
already_started_(false) {} already_started_(false) {}
CreateElementFlags& SetCreatedByParser(bool flag, Document* document) { CreateElementFlags& SetCreatedByParser(bool flag, Document* document) {
// TODO(crbug.com/1086507): Change this to a DCHECK. DCHECK(flag || !document);
CHECK(flag || !document);
created_by_parser_ = flag; created_by_parser_ = flag;
parser_document_ = document; parser_document_ = document;
return *this; return *this;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment