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

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

Issue 2858963002: Replace ASSERT with DCHECK in core/ (Closed)
Patch Set: WorkerBackingThread Created 3 years, 7 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/core/clipboard/DraggedIsolatedFileSystem.cpp
diff --git a/third_party/WebKit/Source/core/clipboard/DraggedIsolatedFileSystem.cpp b/third_party/WebKit/Source/core/clipboard/DraggedIsolatedFileSystem.cpp
index 31b6de4322af47effa839643bc4b5930820ab376..b52f75e1f45bbaac7089ed2f48465e9c5d7c0239 100644
--- a/third_party/WebKit/Source/core/clipboard/DraggedIsolatedFileSystem.cpp
+++ b/third_party/WebKit/Source/core/clipboard/DraggedIsolatedFileSystem.cpp
@@ -11,12 +11,12 @@ DraggedIsolatedFileSystem::FileSystemIdPreparationCallback
void DraggedIsolatedFileSystem::Init(
DraggedIsolatedFileSystem::FileSystemIdPreparationCallback callback) {
- ASSERT(!prepare_callback_);
+ DCHECK(!prepare_callback_);
prepare_callback_ = callback;
}
void DraggedIsolatedFileSystem::PrepareForDataObject(DataObject* data_object) {
- ASSERT(prepare_callback_);
+ DCHECK(prepare_callback_);
(*prepare_callback_)(data_object);
}
« no previous file with comments | « third_party/WebKit/Source/core/clipboard/DataTransfer.cpp ('k') | third_party/WebKit/Source/core/clipboard/Pasteboard.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698