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

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.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/AXObjectCacheImpl.h
diff --git a/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.h b/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.h
index 8cf8413e32d3e52bc2498a406037b0887358a9a9..2f6632b9d3f815e02149eacb895cd161ab6d5c14 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.h
+++ b/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.h
@@ -208,9 +208,9 @@ class MODULES_EXPORT AXObjectCacheImpl : public AXObjectCache {
HashSet<AXID> m_idsInUse;
-#if ENABLE(ASSERT)
+#if DCHECK_IS_ON()
// Verified when finalizing.
- bool m_hasBeenDisposed;
+ bool m_hasBeenDisposed = false;
#endif
//

Powered by Google App Engine
This is Rietveld 408576698