| Index: third_party/polymer/v1_0/components-chromium/iron-overlay-behavior/iron-overlay-backdrop-extracted.js
|
| diff --git a/third_party/polymer/v1_0/components-chromium/iron-overlay-behavior/iron-overlay-backdrop-extracted.js b/third_party/polymer/v1_0/components-chromium/iron-overlay-behavior/iron-overlay-backdrop-extracted.js
|
| index 42007ad11a330c9c78bc5bc896f8f5e10bfe2865..fe00c98ed81dedd39cfc8b359ea2747ddfd0119f 100644
|
| --- a/third_party/polymer/v1_0/components-chromium/iron-overlay-behavior/iron-overlay-backdrop-extracted.js
|
| +++ b/third_party/polymer/v1_0/components-chromium/iron-overlay-behavior/iron-overlay-backdrop-extracted.js
|
| @@ -31,8 +31,6 @@
|
| * Appends the backdrop to document body and sets its `z-index` to be below the latest overlay.
|
| */
|
| prepare: function() {
|
| - // Always update z-index
|
| - this.style.zIndex = this._manager.backdropZ();
|
| if (!this.parentNode) {
|
| Polymer.dom(document.body).appendChild(this);
|
| }
|
| @@ -52,8 +50,6 @@
|
| * Hides the backdrop if needed.
|
| */
|
| close: function() {
|
| - // Always update z-index
|
| - this.style.zIndex = this._manager.backdropZ();
|
| // close only if no element with backdrop is left
|
| if (this._manager.getBackdrops().length === 0) {
|
| // Read style before setting opened.
|
|
|