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

Unified Diff: third_party/WebKit/Source/platform/SharedBuffer.cpp

Issue 2849903002: Replace ASSERT_NOT_REACHED with NOTREACHED in platform/ (Closed)
Patch Set: rebase Created 3 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/platform/SharedBuffer.cpp
diff --git a/third_party/WebKit/Source/platform/SharedBuffer.cpp b/third_party/WebKit/Source/platform/SharedBuffer.cpp
index ab648988e4723f2cd45285b7b6cd35d273cee17c..ec40d4b53464148c9d49719198c0ace99a4106a7 100644
--- a/third_party/WebKit/Source/platform/SharedBuffer.cpp
+++ b/third_party/WebKit/Source/platform/SharedBuffer.cpp
@@ -200,7 +200,7 @@ size_t SharedBuffer::GetSomeDataInternal(const char*& some_data,
return segment == segments - 1 ? segmented_size - position
: kSegmentSize - position_in_segment;
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return 0;
}
@@ -240,7 +240,7 @@ sk_sp<SkData> SharedBuffer::GetAsSkData() const {
}
if (position != buffer_length) {
- ASSERT_NOT_REACHED();
+ NOTREACHED();
// Don't return the incomplete SkData.
return nullptr;
}
« no previous file with comments | « third_party/WebKit/Source/platform/LengthFunctions.cpp ('k') | third_party/WebKit/Source/platform/SharedBufferChunkReader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698