| Index: content/renderer/presentation/presentation_dispatcher.cc
|
| diff --git a/content/renderer/presentation/presentation_dispatcher.cc b/content/renderer/presentation/presentation_dispatcher.cc
|
| index 33fe33c258efb3d55ec1b3890c7fd57177e22d14..bfe9a49aed538e9047e665cbcb1ffb99aa00cb5a 100644
|
| --- a/content/renderer/presentation/presentation_dispatcher.cc
|
| +++ b/content/renderer/presentation/presentation_dispatcher.cc
|
| @@ -42,16 +42,17 @@ blink::WebPresentationError::ErrorType GetWebPresentationErrorTypeFromMojo(
|
| blink::WebPresentationConnectionState GetWebPresentationConnectionStateFromMojo(
|
| presentation::PresentationConnectionState mojoSessionState) {
|
| switch (mojoSessionState) {
|
| + // TODO(imcheng): Add Connecting state to Blink (crbug.com/575351).
|
| case presentation::PRESENTATION_CONNECTION_STATE_CONNECTED:
|
| return blink::WebPresentationConnectionState::Connected;
|
| case presentation::PRESENTATION_CONNECTION_STATE_CLOSED:
|
| return blink::WebPresentationConnectionState::Closed;
|
| case presentation::PRESENTATION_CONNECTION_STATE_TERMINATED:
|
| return blink::WebPresentationConnectionState::Terminated;
|
| + default:
|
| + NOTREACHED();
|
| + return blink::WebPresentationConnectionState::Terminated;
|
| }
|
| -
|
| - NOTREACHED();
|
| - return blink::WebPresentationConnectionState::Terminated;
|
| }
|
|
|
| } // namespace
|
|
|