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

Unified Diff: content/renderer/presentation/presentation_dispatcher.cc

Issue 1102683002: Revert of [Presentation API] Implement ondefaultsessionstart in PSImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « content/public/browser/presentation_service_delegate.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(
« no previous file with comments | « content/public/browser/presentation_service_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698