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; |