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

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: white space fix. 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..e9067f57b5a899abb1d5561762134478b66d32c7 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 (element.root) {
+ if (_iterateElementDeeplyImpl(Polymer.dom(element.root), cb, thisArg,
+ false))
return true;
}
for (var i = 0; i < element.children.length; i++) {
« no previous file with comments | « tracing/tracing/ui/base/container_that_decorates_its_children.html ('k') | tracing/tracing/ui/base/deep_utils_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698