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

Unified Diff: third_party/WebKit/Source/core/inspector/DOMEditor.cpp

Issue 2858963002: Replace ASSERT with DCHECK in core/ (Closed)
Patch Set: WorkerBackingThread Created 3 years, 7 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/inspector/DOMEditor.cpp
diff --git a/third_party/WebKit/Source/core/inspector/DOMEditor.cpp b/third_party/WebKit/Source/core/inspector/DOMEditor.cpp
index cc0a1ae3704b21924e109cd5d2dc8d49261b5f14..899fe361dca85161d3249425dc93906470d8316e 100644
--- a/third_party/WebKit/Source/core/inspector/DOMEditor.cpp
+++ b/third_party/WebKit/Source/core/inspector/DOMEditor.cpp
@@ -234,7 +234,7 @@ class DOMEditor::SetOuterHTMLAction final : public InspectorHistory::Action {
bool Perform(ExceptionState& exception_state) override {
old_html_ = CreateMarkup(node_.Get());
- ASSERT(node_->ownerDocument());
+ DCHECK(node_->ownerDocument());
DOMPatchSupport dom_patch_support(dom_editor_.Get(),
*node_->ownerDocument());
new_node_ =

Powered by Google App Engine
This is Rietveld 408576698