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

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

Issue 2458003002: Remove ASSERT_WITH_SECURITY_IMPLICATION. (Closed)
Patch Set: Minor formatting fix Created 4 years, 2 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/TextFinder.cpp
diff --git a/third_party/WebKit/Source/web/TextFinder.cpp b/third_party/WebKit/Source/web/TextFinder.cpp
index b1248f001ad01b0097ea6a2f6e9b8c45879e212e..f674f1ce6808b8ecd5dcb2a405b5e1e90bbe7987 100644
--- a/third_party/WebKit/Source/web/TextFinder.cpp
+++ b/third_party/WebKit/Source/web/TextFinder.cpp
@@ -607,7 +607,7 @@ int TextFinder::nearestFindMatch(const FloatPoint& point,
}
int TextFinder::selectFindMatch(unsigned index, WebRect* selectionRect) {
- ASSERT_WITH_SECURITY_IMPLICATION(index < m_findMatchesCache.size());
+ SECURITY_DCHECK(index < m_findMatchesCache.size());
Range* range = m_findMatchesCache[index].m_range;
if (!range->boundaryPointsValid() || !range->startContainer()->isConnected())
« no previous file with comments | « third_party/WebKit/Source/web/IndexedDBClientImpl.cpp ('k') | third_party/WebKit/Source/web/WebAXObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698