| 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 9d19a5803e98905699f74762b44a62a052506d15..2978c9742f2a4c918c4da1deffd76d4e95491ebf 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
|
| @@ -415,7 +415,6 @@ Polymer({
|
| ready: function() {
|
| this.elementReadyTimeMs_ = performance.now();
|
| this.showSinkList_();
|
| - this.putSearchAtBottom_();
|
|
|
| Polymer.RenderStatus.afterNextRender(this, function() {
|
| // Import the elements that aren't needed at startup. This reduces
|
| @@ -430,6 +429,9 @@ Polymer({
|
| return;
|
| }
|
| that.updateElementPositioning_();
|
| + if (that.currentView_ == media_router.MediaRouterView.SINK_LIST) {
|
| + that.putSearchAtBottom_();
|
| + }
|
| };
|
| this.importHref('chrome://resources/polymer/v1_0/neon-animation/' +
|
| 'web-animations.html', onload);
|
|
|