Index: content/renderer/presentation/presentation_dispatcher.cc |
diff --git a/content/renderer/presentation/presentation_dispatcher.cc b/content/renderer/presentation/presentation_dispatcher.cc |
index c074df3d823dc97bfaf68ce6480666de7845e3be..39e5238b189b9fd7c3219337565554affc628c92 100644 |
--- a/content/renderer/presentation/presentation_dispatcher.cc |
+++ b/content/renderer/presentation/presentation_dispatcher.cc |
@@ -172,10 +172,9 @@ |
&PresentationDispatcher::OnDefaultSessionStarted, |
base::Unretained(this))); |
- if (!session_info.is_null()) { |
- controller_->didStartDefaultSession( |
- new PresentationSessionClient(session_info.Pass())); |
- } |
+ DCHECK(!session_info.is_null()); |
+ controller_->didStartDefaultSession( |
+ new PresentationSessionClient(session_info.Pass())); |
} |
void PresentationDispatcher::OnSessionCreated( |