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

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXNodeObject.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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/accessibility/AXNodeObject.h
diff --git a/third_party/WebKit/Source/modules/accessibility/AXNodeObject.h b/third_party/WebKit/Source/modules/accessibility/AXNodeObject.h
index 327773d2f100929c86291944f348d402dedd79b4..80759028f2ce5ec93b9a2cefb84bec0db9786bf6 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXNodeObject.h
+++ b/third_party/WebKit/Source/modules/accessibility/AXNodeObject.h
@@ -55,8 +55,8 @@ class MODULES_EXPORT AXNodeObject : public AXObject {
// Protected data.
AccessibilityRole m_ariaRole;
bool m_childrenDirty;
-#if ENABLE(ASSERT)
- bool m_initialized;
+#if DCHECK_IS_ON()
+ bool m_initialized = false;
#endif
bool computeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const override;

Powered by Google App Engine
This is Rietveld 408576698