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

Unified Diff: tracing/tracing/ui/base/deep_utils_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
Index: tracing/tracing/ui/base/deep_utils_test.html
diff --git a/tracing/tracing/ui/base/deep_utils_test.html b/tracing/tracing/ui/base/deep_utils_test.html
index fa0d843e106f8c6afd0595ed8997978ba7722b31..352061f00cb4091995412452324ffeaf342b462a 100644
--- a/tracing/tracing/ui/base/deep_utils_test.html
+++ b/tracing/tracing/ui/base/deep_utils_test.html
@@ -23,10 +23,10 @@ tr.b.unittest.testSuite(function() {
var a_ = a.createShadowRoot();
var b = createElement('b');
- a_.appendChild(b);
+ Polymer.dom(a_).appendChild(b);
var b_ = b.createShadowRoot();
- b_.appendChild(createElement('c', 'x'));
+ Polymer.dom(b_).appendChild(createElement('c', 'x'));
var m = tr.b.findDeepElementMatching(a, 'c.x');
assert.equal(m, b_.children[0]);
@@ -37,11 +37,11 @@ tr.b.unittest.testSuite(function() {
var a_ = a.createShadowRoot();
var b = createElement('b');
- a_.appendChild(b);
+ Polymer.dom(a_).appendChild(b);
var b_ = b.createShadowRoot();
- b_.appendChild(createElement('c', 'x'));
- b_.appendChild(createElement('c', 'x'));
+ Polymer.dom(b_).appendChild(createElement('c', 'x'));
+ Polymer.dom(b_).appendChild(createElement('c', 'x'));
var m = tr.b.findDeepElementsMatching(a, 'c.x');
assert.equal(m[0], b_.children[0]);
« no previous file with comments | « tracing/tracing/ui/base/container_that_decorates_its_children_test.html ('k') | tracing/tracing/ui/base/dom_helpers.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698