| Index: chrome/browser/media/router/presentation_service_delegate_impl.cc
|
| diff --git a/chrome/browser/media/router/presentation_service_delegate_impl.cc b/chrome/browser/media/router/presentation_service_delegate_impl.cc
|
| index 15568577e3fdf7ea7c9575db6b32ca18eb0d5690..67d43a3280846e406484955230cfa8b30adb6c65 100644
|
| --- a/chrome/browser/media/router/presentation_service_delegate_impl.cc
|
| +++ b/chrome/browser/media/router/presentation_service_delegate_impl.cc
|
| @@ -788,8 +788,9 @@ void PresentationServiceDelegateImpl::StartSession(
|
| if (presentation_urls.empty() ||
|
| std::find_if_not(presentation_urls.begin(), presentation_urls.end(),
|
| IsValidPresentationUrl) != presentation_urls.end()) {
|
| - error_cb.Run(content::PresentationError(content::PRESENTATION_ERROR_UNKNOWN,
|
| - "Invalid presentation URL."));
|
| + error_cb.Run(content::PresentationError(
|
| + content::PRESENTATION_ERROR_NO_PRESENTATION_FOUND,
|
| + "Invalid presentation URL."));
|
| return;
|
| }
|
|
|
|
|