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

Unified Diff: tracing/tracing/ui/timeline_view_test.html

Issue 1923953003: [polymer] Switches .appendChild() to Polymer.dom()...appendChild() (Closed) Base URL: git@github.com:catapult-project/catapult.git@polymer10-migration
Patch Set: 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/timeline_view.html ('k') | tracing/tracing/ui/timeline_viewport.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/ui/timeline_view_test.html
diff --git a/tracing/tracing/ui/timeline_view_test.html b/tracing/tracing/ui/timeline_view_test.html
index e3e2e0609851d4514dbcead7b56a59125973c903..9a5f0fa83b93877a20fc4f7f947ad3e56e38b0e2 100644
--- a/tracing/tracing/ui/timeline_view_test.html
+++ b/tracing/tracing/ui/timeline_view_test.html
@@ -22,7 +22,7 @@ tr.b.unittest.testSuite(function() {
container.id = 'track_view_container';
var view = document.createElement('tr-ui-timeline-view');
- view.appendChild(container);
+ Polymer.dom(view).appendChild(container);
view.trackViewContainer_ = container;
return view;
}
@@ -112,11 +112,11 @@ tr.b.unittest.testSuite(function() {
var simpleButton1 = document.createElement('tr-ui-b-toolbar-button');
simpleButton1.textContent = 'M';
- view.leftControls.appendChild(simpleButton1);
+ Polymer.dom(view.leftControls).appendChild(simpleButton1);
var simpleButton2 = document.createElement('tr-ui-b-toolbar-button');
simpleButton2.textContent = 'am button';
- view.leftControls.appendChild(simpleButton2);
+ Polymer.dom(view.leftControls).appendChild(simpleButton2);
this.addHTMLOutput(view);
});
« no previous file with comments | « tracing/tracing/ui/timeline_view.html ('k') | tracing/tracing/ui/timeline_viewport.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698