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

Unified Diff: content/browser/presentation/presentation_service_impl.cc

Issue 2801823003: [Presentation API] Change connection to 'connected' if start a presentation with "https://www.googl… (Closed)
Patch Set: fix content_unittest and layout test failures Created 3 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
Index: content/browser/presentation/presentation_service_impl.cc
diff --git a/content/browser/presentation/presentation_service_impl.cc b/content/browser/presentation/presentation_service_impl.cc
index 4499ea229eb3dc85d2175641fe71fae11a2da986..48d20737d3726fc0fca297beeeee16d0ef9fc7c1 100644
--- a/content/browser/presentation/presentation_service_impl.cc
+++ b/content/browser/presentation/presentation_service_impl.cc
@@ -417,6 +417,9 @@ void PresentationServiceImpl::DidFinishNavigation(
if (navigation_handle->IsSameDocument())
return;
+ if (receiver_delegate_)
imcheng 2017/04/08 00:05:59 Please add a comment here.
zhaobin 2017/04/08 01:36:01 Done.
+ return;
+
// Reset if the frame actually navigated.
Reset();
}

Powered by Google App Engine
This is Rietveld 408576698