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

Unified Diff: third_party/WebKit/Source/modules/filesystem/DataTransferItemFileSystem.cpp

Issue 2810513002: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in modules/filesystem (Closed)
Patch Set: split 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/modules/filesystem/DataTransferItemFileSystem.cpp
diff --git a/third_party/WebKit/Source/modules/filesystem/DataTransferItemFileSystem.cpp b/third_party/WebKit/Source/modules/filesystem/DataTransferItemFileSystem.cpp
index 0e353681a377b6270e22ab700eebc198186dddf0..2620c66e0568b6e9f8c91d6f2cf65fb928b3c4da 100644
--- a/third_party/WebKit/Source/modules/filesystem/DataTransferItemFileSystem.cpp
+++ b/third_party/WebKit/Source/modules/filesystem/DataTransferItemFileSystem.cpp
@@ -57,7 +57,7 @@ Entry* DataTransferItemFileSystem::webkitGetAsEntry(ScriptState* script_state,
// The clipboard may not be in a readable state.
if (!file)
return 0;
- ASSERT(file->IsFile());
+ DCHECK(file->IsFile());
DOMFileSystem* dom_file_system =
DraggedIsolatedFileSystemImpl::GetDOMFileSystem(

Powered by Google App Engine
This is Rietveld 408576698