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

Unified Diff: third_party/WebKit/Source/web/WebSurroundingText.cpp

Issue 1839643009: RELEASE_ASSERT -> CHECK and ASSERT -> DCHECK in web. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Return DCHECK_IS_ON checks. Created 4 years, 9 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/web/WebSurroundingText.cpp
diff --git a/third_party/WebKit/Source/web/WebSurroundingText.cpp b/third_party/WebKit/Source/web/WebSurroundingText.cpp
index 0bbc7e6772ec28c6e6a51f1dc6613fb0b2bd04f6..82fd5b0700a9f97a3f2bcd87792e8d8f02cce5bf 100644
--- a/third_party/WebKit/Source/web/WebSurroundingText.cpp
+++ b/third_party/WebKit/Source/web/WebSurroundingText.cpp
@@ -58,7 +58,7 @@ WebString WebSurroundingText::textContent() const
size_t WebSurroundingText::hitOffsetInTextContent() const
{
- ASSERT(m_private->startOffsetInContent() == m_private->endOffsetInContent());
+ DCHECK_EQ(m_private->startOffsetInContent(), m_private->endOffsetInContent());
return m_private->startOffsetInContent();
}
« no previous file with comments | « third_party/WebKit/Source/web/WebSpeechRecognitionResult.cpp ('k') | third_party/WebKit/Source/web/WebUserMediaRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698