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

Side by Side Diff: tracing/tracing/ui/base/list_view.html

Issue 1922193002: [polymer] Replaces this.appendChild with Polymer.dom(this).appendChild (Closed) Base URL: git@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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <!-- 2 <!--
3 Copyright (c) 2014 The Chromium Authors. All rights reserved. 3 Copyright (c) 2014 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="stylesheet" href="/tracing/ui/base/list_view.css"> 8 <link rel="stylesheet" href="/tracing/ui/base/list_view.css">
9 9
10 <link rel="import" href="/tracing/base/event.html"> 10 <link rel="import" href="/tracing/base/event.html">
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 tr.ui.b.scrollIntoViewIfNeeded(next); 146 tr.ui.b.scrollIntoViewIfNeeded(next);
147 e.preventDefault(); 147 e.preventDefault();
148 return true; 148 return true;
149 } 149 }
150 } 150 }
151 }, 151 },
152 152
153 addItem: function(textContent) { 153 addItem: function(textContent) {
154 var item = document.createElement('div'); 154 var item = document.createElement('div');
155 item.textContent = textContent; 155 item.textContent = textContent;
156 this.appendChild(item); 156 Polymer.dom(this).appendChild(item);
157 return item; 157 return item;
158 } 158 }
159 159
160 }; 160 };
161 161
162 return { 162 return {
163 ListView: ListView 163 ListView: ListView
164 }; 164 };
165 165
166 }); 166 });
167 </script> 167 </script>
OLDNEW
« no previous file with comments | « tracing/tracing/ui/base/list_and_associated_view.html ('k') | tracing/tracing/ui/base/quad_stack_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698