| Index: chrome/browser/resources/media_router/elements/media_router_container/media_router_container.js
|
| diff --git a/chrome/browser/resources/media_router/elements/media_router_container/media_router_container.js b/chrome/browser/resources/media_router/elements/media_router_container/media_router_container.js
|
| index ba949c3cad8b0446fc47c20210ee448fd52efa2e..d9636271c0e6cd300ff8d72e2508ebb00f794364 100644
|
| --- a/chrome/browser/resources/media_router/elements/media_router_container/media_router_container.js
|
| +++ b/chrome/browser/resources/media_router/elements/media_router_container/media_router_container.js
|
| @@ -203,9 +203,13 @@ Polymer({
|
| },
|
|
|
| attached: function() {
|
| - // Turn off the spinner after 3 seconds.
|
| + // Turn off the spinner after 3 seconds, then report the current number of
|
| + // sinks.
|
| this.async(function() {
|
| this.justOpened_ = false;
|
| + this.fire('report-sink-count', {
|
| + sinkCount: this.allSinks.length,
|
| + });
|
| }, 3000 /* 3 seconds */);
|
| },
|
|
|
|
|