Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(284)

Unified Diff: tracing/tracing/ui/analysis/single_thread_time_slice_sub_view.html

Issue 1914243003: Replace instances of shadowRoot with root. (Closed) Base URL: https://github.com/catapult-project/catapult.git@polymer10-migration
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 78c25bfa694d0399b631162682c95295fe1fa697..23cde6e475cc14b18077467771aba94c357c4774 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
@@ -115,7 +115,7 @@ Polymer({
var timeSlice = selection[0];
var thread = timeSlice.thread;
- var shadowRoot = this.shadowRoot;
+ var shadowRoot = this.root;
shadowRoot.querySelector('#state').textContent = timeSlice.title;
var stateColor = tr.b.ColorScheme.colorsAsStrings[timeSlice.colorId];
shadowRoot.querySelector('#state').style.backgroundColor = stateColor;

Powered by Google App Engine
This is Rietveld 408576698