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

Unified Diff: tracing/tracing/ui/brushing_state_controller.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/brushing_state_controller.html
diff --git a/tracing/tracing/ui/brushing_state_controller.html b/tracing/tracing/ui/brushing_state_controller.html
index c3b9e83952bcaa7616bcd5c6ba51e9f66cb2d05e..4f942e23f54089ce24103493385fae8da89b8303 100644
--- a/tracing/tracing/ui/brushing_state_controller.html
+++ b/tracing/tracing/ui/brushing_state_controller.html
@@ -7,11 +7,11 @@ found in the LICENSE file.
<link rel="import" href="/tracing/base/event_target.html">
<link rel="import" href="/tracing/base/task.html">
-<link rel="import" href="/tracing/ui/brushing_state.html">
-<link rel="import" href="/tracing/ui/timeline_viewport.html">
-<link rel="import" href="/tracing/ui/base/ui_state.html">
<link rel="import" href="/tracing/model/event_set.html">
<link rel="import" href="/tracing/model/selection_state.html">
+<link rel="import" href="/tracing/ui/base/ui_state.html">
+<link rel="import" href="/tracing/ui/brushing_state.html">
+<link rel="import" href="/tracing/ui/timeline_viewport.html">
<script>
'use strict';
@@ -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;

Powered by Google App Engine
This is Rietveld 408576698