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

Unified Diff: third_party/WebKit/Source/platform/exported/WebDragData.cpp

Issue 2811463002: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in platform/exported (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/exported/WebDragData.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebDragData.cpp b/third_party/WebKit/Source/platform/exported/WebDragData.cpp
index 7ae91c4385cabf7cf4197716a99c718872edff9c..ccef59ea33e99d5fafa1505d52223b62929a3578 100644
--- a/third_party/WebKit/Source/platform/exported/WebDragData.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebDragData.cpp
@@ -33,12 +33,12 @@
namespace blink {
void WebDragData::SetItems(WebVector<Item> item_list) {
- ASSERT(!IsNull());
+ DCHECK(!IsNull());
item_list_.Swap(item_list);
}
void WebDragData::AddItem(const Item& item) {
- ASSERT(!IsNull());
+ DCHECK(!IsNull());
WebVector<Item> item_list(item_list_.size() + 1);
for (unsigned i = 0; i < item_list_.size(); ++i)

Powered by Google App Engine
This is Rietveld 408576698