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

Unified Diff: tracing/tracing/ui/brushing_state_controller.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
« no previous file with comments | « tracing/tracing/ui/base/ui_test.html ('k') | tracing/tracing/ui/extras/about_tracing/profiling_view.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/ui/brushing_state_controller.html
diff --git a/tracing/tracing/ui/brushing_state_controller.html b/tracing/tracing/ui/brushing_state_controller.html
index c3b9e83952bcaa7616bcd5c6ba51e9f66cb2d05e..846afb4b977f86aa5d858d43ddd8b86944dce689 100644
--- a/tracing/tracing/ui/brushing_state_controller.html
+++ b/tracing/tracing/ui/brushing_state_controller.html
@@ -291,8 +291,8 @@ tr.exportTo('tr.c', function() {
// Possibly inside a shadow DOM.
var currentNode = currentElement;
- while (currentNode.parentNode)
- currentNode = currentNode.parentNode;
+ while (Polymer.dom(currentNode).parentNode)
+ currentNode = Polymer.dom(currentNode).parentNode;
currentElement = currentNode.host;
}
return undefined;
« no previous file with comments | « tracing/tracing/ui/base/ui_test.html ('k') | tracing/tracing/ui/extras/about_tracing/profiling_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698