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

Unified Diff: third_party/WebKit/Source/platform/text/TextBreakIteratorICU.cpp

Issue 1826283004: Revert NotImplemented() changes in r383029 and r383047. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/platform/text/TextBreakIteratorICU.cpp
diff --git a/third_party/WebKit/Source/platform/text/TextBreakIteratorICU.cpp b/third_party/WebKit/Source/platform/text/TextBreakIteratorICU.cpp
index 9691763b288d72ea081061fb9c23740dd4dbbef4..a00f757eda55baa93fdc1e529ea98f6ac409c4d0 100644
--- a/third_party/WebKit/Source/platform/text/TextBreakIteratorICU.cpp
+++ b/third_party/WebKit/Source/platform/text/TextBreakIteratorICU.cpp
@@ -82,7 +82,7 @@ public:
void put(icu::BreakIterator* iterator)
{
- DCHECK(m_vendedIterators.contains(iterator));
+ ASSERT_ARG(iterator, m_vendedIterators.contains(iterator));
if (m_pool.size() == capacity) {
delete(m_pool[0].second);
@@ -594,7 +594,8 @@ TextBreakIterator* acquireLineBreakIterator(const UChar* string, int length, con
void releaseLineBreakIterator(TextBreakIterator* iterator)
{
- DCHECK(iterator);
+ ASSERT_ARG(iterator, iterator);
+
LineBreakIteratorPool::sharedPool().put(iterator);
}

Powered by Google App Engine
This is Rietveld 408576698