| Index: tracing/tracing/ui/base/tab_view.html
|
| diff --git a/tracing/tracing/ui/base/tab_view.html b/tracing/tracing/ui/base/tab_view.html
|
| index 4563ccda27c9e71553df02da91280fd6751a3f42..3ccc708d1afc695984418fac6c26095d96c60125 100644
|
| --- a/tracing/tracing/ui/base/tab_view.html
|
| +++ b/tracing/tracing/ui/base/tab_view.html
|
| @@ -195,13 +195,13 @@ window.TracingAnalysisTabView = Polymer({
|
| },
|
|
|
| get tabsHidden() {
|
| - var ts = this.shadowRoot.querySelector('tab-strip');
|
| + var ts = Polymer.dom(this.root).querySelector('tab-strip');
|
| return ts.classList.contains('hidden');
|
| },
|
|
|
| set tabsHidden(tabsHidden) {
|
| tabsHidden = !!tabsHidden;
|
| - var ts = this.shadowRoot.querySelector('tab-strip');
|
| + var ts = Polymer.dom(this.root).querySelector('tab-strip');
|
| if (tabsHidden)
|
| ts.classList.add('hidden');
|
| else
|
| @@ -238,7 +238,7 @@ window.TracingAnalysisTabView = Polymer({
|
| // selected tab, mark the child as the selected tab, otherwise keep
|
| // the previous selection.
|
| if (this.selectedTab_)
|
| - child.removeAttribute('selected');
|
| + Polymer.dom(child).removeAttribute('selected');
|
| else
|
| this.setSelectedTabById_(tabObject.id);
|
| }
|
| @@ -294,7 +294,7 @@ window.TracingAnalysisTabView = Polymer({
|
| this.clearSelectedTab_();
|
| this.fire('selected-tab-change');
|
| }
|
| - child.removeAttribute('selected');
|
| + Polymer.dom(child).removeAttribute('selected');
|
| delete child.selected;
|
| // Remove the observer since we no longer care about this child.
|
| this.splice('tabs_', i, 1);
|
| @@ -388,7 +388,7 @@ window.TracingAnalysisTabView = Polymer({
|
| this.selectedTab_ = this.tabs_[id];
|
| // Disconnect observer while we mutate the child.
|
| this.selectedTab_.observers.forAttributeSelected.disconnect();
|
| - this.selectedTab_.content.setAttribute('selected', 'selected');
|
| + Polymer.dom(this.selectedTab_.content).setAttribute('selected', 'selected');
|
| // Reconnect the observer to watch for changes in the future.
|
| this.selectedTab_.observers.forAttributeSelected.observe(
|
| this.selectedTab_.content, { attributeFilter: ['selected'] });
|
| @@ -426,7 +426,7 @@ window.TracingAnalysisTabView = Polymer({
|
| if (this.selectedTab_) {
|
| // Disconnect observer while we mutate the child.
|
| this.selectedTab_.observers.forAttributeSelected.disconnect();
|
| - this.selectedTab_.content.removeAttribute('selected');
|
| + Polymer.dom(this.selectedTab_.content).removeAttribute('selected');
|
| // Reconnect the observer to watch for changes in the future.
|
| this.selectedTab_.observers.forAttributeSelected.observe(
|
| this.selectedTab_.content, { attributeFilter: ['selected'] });
|
|
|