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

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXSVGRoot.cpp

Issue 2804383002: Replace ASSERT with DCHECK in modules/accessibility (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/modules/accessibility/AXSVGRoot.cpp
diff --git a/third_party/WebKit/Source/modules/accessibility/AXSVGRoot.cpp b/third_party/WebKit/Source/modules/accessibility/AXSVGRoot.cpp
index 67f1075beb79462d198de45b6b3777b68e191055..217bd9da105fe8ec3ccccf5faddeb0abdfe6e4bf 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXSVGRoot.cpp
+++ b/third_party/WebKit/Source/modules/accessibility/AXSVGRoot.cpp
@@ -53,7 +53,7 @@ void AXSVGRoot::setParent(AXObject* parent) {
}
AXObject* AXSVGRoot::computeParent() const {
- ASSERT(!isDetached());
+ DCHECK(!isDetached());
// If a parent was set because this is a remote SVG resource, use that
// but otherwise, we should rely on the standard layout tree for the parent.
if (m_parent)

Powered by Google App Engine
This is Rietveld 408576698