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

Unified Diff: third_party/WebKit/Source/core/dom/DocumentOrderedList.cpp

Issue 2850133003: Remove checks added to DocumentOrderList for crbug.com/699269 diagnosis (Closed)
Patch Set: Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/dom/DocumentOrderedList.cpp
diff --git a/third_party/WebKit/Source/core/dom/DocumentOrderedList.cpp b/third_party/WebKit/Source/core/dom/DocumentOrderedList.cpp
index 2ee8e835360f5c426e44884e12b1783b96b00e2d..3d7d18465ad8aeb79366d846b129de486a90b3a7 100644
--- a/third_party/WebKit/Source/core/dom/DocumentOrderedList.cpp
+++ b/third_party/WebKit/Source/core/dom/DocumentOrderedList.cpp
@@ -34,8 +34,6 @@
namespace blink {
void DocumentOrderedList::Add(Node* node) {
- // TODO(keishi): CHECK() added for crbug.com/699269 diagnosis.
- CHECK(!mutation_forbidden_);
if (nodes_.IsEmpty()) {
nodes_.insert(node);
return;
@@ -62,8 +60,6 @@ void DocumentOrderedList::Add(Node* node) {
}
void DocumentOrderedList::Remove(const Node* node) {
- // TODO(keishi): CHECK() added for crbug.com/699269 diagnosis.
- CHECK(!mutation_forbidden_);
nodes_.erase(const_cast<Node*>(node));
}

Powered by Google App Engine
This is Rietveld 408576698