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

Unified Diff: tracing/tracing/ui/base/deep_utils.html

Issue 1967613003: Migrate child element manipulation, innerHTML, classList, attributes, (Closed) Base URL: https://github.com/catapult-project/catapult.git@polymer10-migration
Patch Set: Created 4 years, 7 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..e7d33fd84f5bfd53fffb9c6a135ab9411cad3d71 100644
--- a/tracing/tracing/ui/base/deep_utils.html
+++ b/tracing/tracing/ui/base/deep_utils.html
@@ -16,8 +16,9 @@ tr.exportTo('tr.b', function() {
return true;
}
- if (element.shadowRoot) {
- if (_iterateElementDeeplyImpl(element.shadowRoot, cb, thisArg, false))
+ if (Polymer.dom(element).root) {
+ if (_iterateElementDeeplyImpl(Polymer.dom(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