| Index: tracing/tracing/ui/analysis/single_thread_time_slice_sub_view.html | 
| diff --git a/tracing/tracing/ui/analysis/single_thread_time_slice_sub_view.html b/tracing/tracing/ui/analysis/single_thread_time_slice_sub_view.html | 
| index e27e8510afd593d98fd78f84d890f4a2d515256b..1406b9e1f75a20cfedb4772a0f598b75b5181b00 100644 | 
| --- a/tracing/tracing/ui/analysis/single_thread_time_slice_sub_view.html | 
| +++ b/tracing/tracing/ui/analysis/single_thread_time_slice_sub_view.html | 
| @@ -114,7 +114,7 @@ Polymer({ | 
| var timeSlice = selection[0]; | 
| var thread = timeSlice.thread; | 
|  | 
| -    var shadowRoot = this.shadowRoot; | 
| +    var shadowRoot = Polymer.dom(this.root); | 
| shadowRoot.querySelector('#state').textContent = timeSlice.title; | 
| var stateColor = tr.b.ColorScheme.colorsAsStrings[timeSlice.colorId]; | 
| shadowRoot.querySelector('#state').style.backgroundColor = stateColor; | 
| @@ -133,7 +133,7 @@ Polymer({ | 
| onCpuEl.textContent = ''; | 
| var runningInsteadEl = shadowRoot.querySelector('#running-instead'); | 
| if (timeSlice.cpuOnWhichThreadWasRunning) { | 
| -      runningInsteadEl.parentElement.removeChild(runningInsteadEl); | 
| +      Polymer.dom(runningInsteadEl.parentElement).removeChild(runningInsteadEl); | 
|  | 
| var cpuLink = document.createElement('tr-ui-a-analysis-link'); | 
| cpuLink.selection = new tr.model.EventSet( | 
| @@ -142,7 +142,7 @@ Polymer({ | 
| timeSlice.cpuOnWhichThreadWasRunning.userFriendlyName; | 
| Polymer.dom(onCpuEl).appendChild(cpuLink); | 
| } else { | 
| -      onCpuEl.parentElement.removeChild(onCpuEl); | 
| +      Polymer.dom(onCpuEl.parentElement).removeChild(onCpuEl); | 
|  | 
| var cpuSliceThatTookCpu = timeSlice.getCpuSliceThatTookCpu(); | 
| if (cpuSliceThatTookCpu) { | 
| @@ -154,7 +154,8 @@ Polymer({ | 
| cpuLink.textContent = cpuSliceThatTookCpu.title; | 
| Polymer.dom(runningInsteadEl).appendChild(cpuLink); | 
| } else { | 
| -        runningInsteadEl.parentElement.removeChild(runningInsteadEl); | 
| +        Polymer.dom(runningInsteadEl.parentElement).removeChild( | 
| +            runningInsteadEl); | 
| } | 
| } | 
|  | 
|  |