Commit 16eaa6b0 authored by jdufault's avatar jdufault Committed by Commit bot

Cast extension method stopCastMirroring was renamed to stopMirroring

See cr/94026893 for context.

BUG=489929

Review URL: https://codereview.chromium.org/1148713004

Cr-Commit-Position: refs/heads/master@{#330835}
parent c2dd599b
...@@ -139,12 +139,13 @@ void CastConfigDelegateChromeos::CastToReceiver( ...@@ -139,12 +139,13 @@ void CastConfigDelegateChromeos::CastToReceiver(
} }
void CastConfigDelegateChromeos::StopCasting() { void CastConfigDelegateChromeos::StopCasting() {
ExecuteJavaScript("backgroundSetup.stopCastMirroring('user-stop');"); ExecuteJavaScript("backgroundSetup.stopMirroring('user-stop')");
// TODO(jdufault): Remove this after stopCastMirroring is properly exported. // TODO(jdufault): Remove this after the beta/release versions of the
// The current beta/release versions of the cast extension do not export // cast extension have been updated so that they properly export the
// stopCastMirroring, so we will also try to call the minified version. // stopMirroring function. For now, we try to invoke all of the other
// See crbug.com/489929. // names that the function goes by. See crbug.com/489929.
ExecuteJavaScript("backgroundSetup.stopCastMirroring('user-stop');");
ExecuteJavaScript("backgroundSetup.Qu('user-stop');"); ExecuteJavaScript("backgroundSetup.Qu('user-stop');");
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment