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

Unified Diff: third_party/WebKit/Source/modules/presentation/Presentation.cpp

Issue 2862963003: Replace ASSERT with DCHECK in modules/ (Closed)
Patch Set: NOTREACHED instead of DCHECK(false) 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/modules/presentation/Presentation.cpp
diff --git a/third_party/WebKit/Source/modules/presentation/Presentation.cpp b/third_party/WebKit/Source/modules/presentation/Presentation.cpp
index d29a2ba04a1b055d38dbb0dcc2d2b09cf1775c79..bc08402a9c91546dfd3ed54b012bb69a8e02aa43 100644
--- a/third_party/WebKit/Source/modules/presentation/Presentation.cpp
+++ b/third_party/WebKit/Source/modules/presentation/Presentation.cpp
@@ -19,10 +19,10 @@ Presentation::Presentation(LocalFrame* frame) : ContextClient(frame) {}
// static
Presentation* Presentation::Create(LocalFrame* frame) {
- ASSERT(frame);
+ DCHECK(frame);
Presentation* presentation = new Presentation(frame);
PresentationController* controller = PresentationController::From(*frame);
- ASSERT(controller);
+ DCHECK(controller);
controller->SetPresentation(presentation);
return presentation;
}

Powered by Google App Engine
This is Rietveld 408576698