| Index: tracing/tracing/ui/base/ui_test.html
|
| diff --git a/tracing/tracing/ui/base/ui_test.html b/tracing/tracing/ui/base/ui_test.html
|
| index 0a7e0d3651c97af152ce5c46f849f5694289e8ee..4cace3aa243d6667b6b22a1440085c8704d2c72e 100644
|
| --- a/tracing/tracing/ui/base/ui_test.html
|
| +++ b/tracing/tracing/ui/base/ui_test.html
|
| @@ -194,14 +194,14 @@ tr.b.unittest.testSuite(function() {
|
| __proto__: HTMLDivElement.prototype,
|
|
|
| decorate: function() {
|
| - this.setAttribute('width', 200);
|
| - this.setAttribute('height', 200);
|
| - this.setAttribute('viewPort', '0 0 200 200');
|
| + Polymer.dom(this).setAttribute('width', 200);
|
| + Polymer.dom(this).setAttribute('height', 200);
|
| + Polymer.dom(this).setAttribute('viewPort', '0 0 200 200');
|
| var rectEl = document.createElementNS(svgNS, 'rect');
|
| - rectEl.setAttribute('x', 10);
|
| - rectEl.setAttribute('y', 10);
|
| - rectEl.setAttribute('width', 180);
|
| - rectEl.setAttribute('height', 180);
|
| + Polymer.dom(rectEl).setAttribute('x', 10);
|
| + Polymer.dom(rectEl).setAttribute('y', 10);
|
| + Polymer.dom(rectEl).setAttribute('width', 180);
|
| + Polymer.dom(rectEl).setAttribute('height', 180);
|
| Polymer.dom(this).appendChild(rectEl);
|
| }
|
| };
|
| @@ -218,14 +218,14 @@ tr.b.unittest.testSuite(function() {
|
| __proto__: HTMLDivElement.prototype,
|
|
|
| decorate: function() {
|
| - this.setAttribute('width', 200);
|
| - this.setAttribute('height', 200);
|
| - this.setAttribute('viewPort', '0 0 200 200');
|
| + Polymer.dom(this).setAttribute('width', 200);
|
| + Polymer.dom(this).setAttribute('height', 200);
|
| + Polymer.dom(this).setAttribute('viewPort', '0 0 200 200');
|
| var rectEl = document.createElementNS(svgNS, 'rect');
|
| - rectEl.setAttribute('x', 10);
|
| - rectEl.setAttribute('y', 10);
|
| - rectEl.setAttribute('width', 180);
|
| - rectEl.setAttribute('height', 180);
|
| + Polymer.dom(rectEl).setAttribute('x', 10);
|
| + Polymer.dom(rectEl).setAttribute('y', 10);
|
| + Polymer.dom(rectEl).setAttribute('width', 180);
|
| + Polymer.dom(rectEl).setAttribute('height', 180);
|
| Polymer.dom(this).appendChild(rectEl);
|
| }
|
| };
|
|
|