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

Unified Diff: tracing/tracing/ui/base/deep_utils.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/base/deep_utils.html
diff --git a/tracing/tracing/ui/base/deep_utils.html b/tracing/tracing/ui/base/deep_utils.html
index 6476dee1af1bac80a73503c8b7741c847e7f8884..a26532dd2a0c0c5164493f2af2526824454a7b06 100644
--- a/tracing/tracing/ui/base/deep_utils.html
+++ b/tracing/tracing/ui/base/deep_utils.html
@@ -16,8 +16,8 @@ tr.exportTo('tr.b', function() {
return true;
}
- if (element.shadowRoot) {
- if (_iterateElementDeeplyImpl(element.shadowRoot, cb, thisArg, false))
+ if (element.root) {
+ if (_iterateElementDeeplyImpl(element.root, cb, thisArg, false))
return true;
}
for (var i = 0; i < element.children.length; i++) {

Powered by Google App Engine
This is Rietveld 408576698