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

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

Issue 1854423002: ASSERT -> {DCHECK|DCHECK_XX}, ENABLE(ASSERT) -> DCHECK_IS_ON() in dom (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mark svg/as-image/svg-nested.html crash on win Created 4 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/AXObjectCache.cpp
diff --git a/third_party/WebKit/Source/core/dom/AXObjectCache.cpp b/third_party/WebKit/Source/core/dom/AXObjectCache.cpp
index 60580af1972e932ddf90462c4d18ca347b61ae33..373e1b7346ad6cebc93db1f6b8c56212235d9e1b 100644
--- a/third_party/WebKit/Source/core/dom/AXObjectCache.cpp
+++ b/third_party/WebKit/Source/core/dom/AXObjectCache.cpp
@@ -34,13 +34,13 @@ AXObjectCache::AXObjectCacheCreateFunction AXObjectCache::m_createFunction = nul
void AXObjectCache::init(AXObjectCacheCreateFunction function)
{
- ASSERT(!m_createFunction);
+ DCHECK(!m_createFunction);
m_createFunction = function;
}
AXObjectCache* AXObjectCache::create(Document& document)
{
- ASSERT(m_createFunction);
+ DCHECK(m_createFunction);
return m_createFunction(document);
}
@@ -75,7 +75,7 @@ AXObjectCache* ScopedAXObjectCache::get()
if (m_cache)
return m_cache.get();
AXObjectCache* cache = m_document->axObjectCache();
- ASSERT(cache);
+ DCHECK(cache);
return cache;
}
« no previous file with comments | « third_party/WebKit/LayoutTests/TestExpectations ('k') | third_party/WebKit/Source/core/dom/ActiveDOMObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698