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

Unified Diff: third_party/WebKit/Source/core/clipboard/Pasteboard.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/Pasteboard.cpp
diff --git a/third_party/WebKit/Source/core/clipboard/Pasteboard.cpp b/third_party/WebKit/Source/core/clipboard/Pasteboard.cpp
index 426f7f56acd5b803327f28557677aee6da66c5ac..a706221fe3bdcb12bf6de73de537e04eecd1eb17 100644
--- a/third_party/WebKit/Source/core/clipboard/Pasteboard.cpp
+++ b/third_party/WebKit/Source/core/clipboard/Pasteboard.cpp
@@ -73,7 +73,7 @@ void Pasteboard::WritePlainText(const String& text, SmartReplaceOption) {
void Pasteboard::WriteImage(Image* image,
const KURL& url,
const String& title) {
- ASSERT(image);
+ DCHECK(image);
const WebImage web_image(image);
if (web_image.IsNull())
« no previous file with comments | « third_party/WebKit/Source/core/clipboard/DraggedIsolatedFileSystem.cpp ('k') | third_party/WebKit/Source/core/css/RuleSet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698