Index: third_party/WebKit/Source/modules/presentation/PresentationController.cpp |
diff --git a/third_party/WebKit/Source/modules/presentation/PresentationController.cpp b/third_party/WebKit/Source/modules/presentation/PresentationController.cpp |
index f20aeee43302581e7ab792e1c73b4e2d32adbdba..5e8d5e553b417b946b751042c4d210dd9f4594f5 100644 |
--- a/third_party/WebKit/Source/modules/presentation/PresentationController.cpp |
+++ b/third_party/WebKit/Source/modules/presentation/PresentationController.cpp |
@@ -64,12 +64,13 @@ DEFINE_TRACE(PresentationController) { |
ContextLifecycleObserver::trace(visitor); |
} |
-void PresentationController::didStartDefaultSession( |
+WebPresentationConnection* PresentationController::didStartDefaultSession( |
const WebPresentationSessionInfo& sessionInfo) { |
if (!m_presentation || !m_presentation->defaultRequest()) |
- return; |
- PresentationConnection::take(this, sessionInfo, |
- m_presentation->defaultRequest()); |
+ return nullptr; |
+ |
+ return PresentationConnection::take(this, sessionInfo, |
+ m_presentation->defaultRequest()); |
} |
void PresentationController::didChangeSessionState( |