| Index: chrome/browser/resources/media_router/elements/route_details/route_details.js
|
| diff --git a/chrome/browser/resources/media_router/elements/route_details/route_details.js b/chrome/browser/resources/media_router/elements/route_details/route_details.js
|
| index ae7ebcca5e1d63a66b704f13ce420e12c896879c..36cec46466f35456024be8e478216b4e9226fcbf 100644
|
| --- a/chrome/browser/resources/media_router/elements/route_details/route_details.js
|
| +++ b/chrome/browser/resources/media_router/elements/route_details/route_details.js
|
| @@ -24,7 +24,7 @@ Polymer({
|
| changeRouteSourceAvailable_: {
|
| type: Boolean,
|
| computed: 'computeChangeRouteSourceAvailable_(route, sink,' +
|
| - 'isAnySinkCurrentlyLaunching, shownCastModeValue)',
|
| + 'isAnySinkCurrentlyLaunching, shownCastModeValue)',
|
| },
|
|
|
| /**
|
| @@ -184,8 +184,8 @@ Polymer({
|
| */
|
| maybeLoadCustomController_: function() {
|
| this.activityStatus_ = this.route ?
|
| - loadTimeData.getStringF('castingActivityStatus',
|
| - this.route.description) :
|
| + loadTimeData.getStringF(
|
| + 'castingActivityStatus', this.route.description) :
|
| '';
|
|
|
| if (!this.route || !this.route.customControllerPath) {
|
| @@ -203,12 +203,14 @@ Polymer({
|
|
|
| var that = this;
|
| extensionview.load(this.route.customControllerPath)
|
| - .then(function() {
|
| - // Load was successful; show the custom controller.
|
| - that.isCustomControllerHidden_ = false;
|
| - }, function() {
|
| - // Load was unsuccessful; fall back to default view.
|
| - that.isCustomControllerHidden_ = true;
|
| - });
|
| + .then(
|
| + function() {
|
| + // Load was successful; show the custom controller.
|
| + that.isCustomControllerHidden_ = false;
|
| + },
|
| + function() {
|
| + // Load was unsuccessful; fall back to default view.
|
| + that.isCustomControllerHidden_ = true;
|
| + });
|
| },
|
| });
|
|
|