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

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

Issue 1928873003: Use Polymer.dom with many dom manipulations. (Closed) Base URL: https://github.com/catapult-project/catapult.git@polymer10-migration
Patch Set: fixes 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..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++) {
« 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