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

Unified Diff: third_party/WebKit/Source/core/page/PagePopupController.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/page/PagePopupController.cpp
diff --git a/third_party/WebKit/Source/core/page/PagePopupController.cpp b/third_party/WebKit/Source/core/page/PagePopupController.cpp
index 94ce51ea854807af9f6f93086d8089d0c0568455..23e830ba122c417065bc7127783be9e5b26eff98 100644
--- a/third_party/WebKit/Source/core/page/PagePopupController.cpp
+++ b/third_party/WebKit/Source/core/page/PagePopupController.cpp
@@ -40,7 +40,7 @@ namespace blink {
PagePopupController::PagePopupController(PagePopup& popup,
PagePopupClient* client)
: popup_(popup), popup_client_(client) {
- ASSERT(client);
+ DCHECK(client);
}
PagePopupController* PagePopupController::Create(PagePopup& popup,
@@ -66,7 +66,7 @@ void PagePopupController::closePopup() {
void PagePopupController::selectFontsFromOwnerDocument(
Document* target_document) {
- ASSERT(target_document);
+ DCHECK(target_document);
if (popup_client_)
popup_client_->SelectFontsFromOwnerDocument(*target_document);
}
« no previous file with comments | « third_party/WebKit/Source/core/page/Page.cpp ('k') | third_party/WebKit/Source/core/page/PagePopupSupplement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698