OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <!-- | 2 <!-- |
3 Copyright (c) 2013 The Chromium Authors. All rights reserved. | 3 Copyright (c) 2013 The Chromium Authors. All rights reserved. |
4 Use of this source code is governed by a BSD-style license that can be | 4 Use of this source code is governed by a BSD-style license that can be |
5 found in the LICENSE file. | 5 found in the LICENSE file. |
6 --> | 6 --> |
7 | 7 |
8 <link rel="import" href="/tracing/base/task.html"> | 8 <link rel="import" href="/tracing/base/task.html"> |
9 <link rel="import" href="/tracing/ui/tracks/track.html"> | 9 <link rel="import" href="/tracing/ui/tracks/track.html"> |
10 <link rel="import" href="/tracing/core/filter.html"> | 10 <link rel="import" href="/tracing/core/filter.html"> |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 }, | 113 }, |
114 | 114 |
115 addContainersToTrackMap: function(containerToTrackMap) { | 115 addContainersToTrackMap: function(containerToTrackMap) { |
116 this.tracks_.forEach(function(track) { | 116 this.tracks_.forEach(function(track) { |
117 track.addContainersToTrackMap(containerToTrackMap); | 117 track.addContainersToTrackMap(containerToTrackMap); |
118 }); | 118 }); |
119 }, | 119 }, |
120 | 120 |
121 clearTracks_: function() { | 121 clearTracks_: function() { |
122 this.tracks_.forEach(function(track) { | 122 this.tracks_.forEach(function(track) { |
123 this.removeChild(track); | 123 Polymer.dom(this).removeChild(track); |
124 }, this); | 124 }, this); |
125 } | 125 } |
126 }; | 126 }; |
127 | 127 |
128 return { | 128 return { |
129 ContainerTrack: ContainerTrack | 129 ContainerTrack: ContainerTrack |
130 }; | 130 }; |
131 }); | 131 }); |
132 </script> | 132 </script> |
OLD | NEW |