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

Unified Diff: third_party/WebKit/Source/core/clipboard/DataObject.cpp

Issue 2846283002: Replace ASSERT_NOT_REACHED with NOTREACHED in the rest of core/ (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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/clipboard/DataTransferItem.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/clipboard/DataObject.cpp
diff --git a/third_party/WebKit/Source/core/clipboard/DataObject.cpp b/third_party/WebKit/Source/core/clipboard/DataObject.cpp
index 3a28e5b0ed9071768ce1ac218c60ec8a2fe2d015..68e324ad11409fac84303aac3ba1eec52f9e8a43 100644
--- a/third_party/WebKit/Source/core/clipboard/DataObject.cpp
+++ b/third_party/WebKit/Source/core/clipboard/DataObject.cpp
@@ -168,7 +168,7 @@ String DataObject::GetData(const String& type) const {
void DataObject::SetData(const String& type, const String& data) {
ClearData(type);
if (!Add(data, type))
- ASSERT_NOT_REACHED();
+ NOTREACHED();
}
void DataObject::UrlAndTitle(String& url, String* title) const {
@@ -355,13 +355,13 @@ WebDragData DataObject::ToWebDragData() {
item.string_data = file->name();
}
} else {
- ASSERT_NOT_REACHED();
+ NOTREACHED();
}
} else {
- ASSERT_NOT_REACHED();
+ NOTREACHED();
}
} else {
- ASSERT_NOT_REACHED();
+ NOTREACHED();
}
item_list[i] = item;
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/clipboard/DataTransferItem.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698