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

Unified Diff: tracing/tracing/ui/extras/drive/index.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/extras/drive/index.html
diff --git a/tracing/tracing/ui/extras/drive/index.html b/tracing/tracing/ui/extras/drive/index.html
index 2c44cea24ff90e72f7d8c8e875490aa4c357ef64..7ee02867543da1aa975cc3a966ed0a6d4e68ae4c 100644
--- a/tracing/tracing/ui/extras/drive/index.html
+++ b/tracing/tracing/ui/extras/drive/index.html
@@ -287,7 +287,7 @@ found in the LICENSE file.
downloadingOverlay.title = 'Downloading...';
downloadingOverlay.userCanClose = false;
downloadingOverlay.msgEl = document.createElement('div');
- downloadingOverlay.appendChild(downloadingOverlay.msgEl);
+ Polymer.dom(downloadingOverlay).appendChild(downloadingOverlay.msgEl);
downloadingOverlay.msgEl.style.margin = '20px';
downloadingOverlay.update = function(msg) {
this.msgEl.textContent = msg;
@@ -328,7 +328,7 @@ found in the LICENSE file.
img.height = 30;
img.width = 30;
img.className = 'collaborator-img';
- collabspan.appendChild(img);
+ Polymer.dom(collabspan).appendChild(img);
imageList.push({'image': img, 'name': user.displayName});
}
for (i = 0; i < imageList.length; i++) {
@@ -339,17 +339,17 @@ found in the LICENSE file.
className: 'collaborator-tooltip-content'
});
collabTooltipContent.textContent = imageList[i].name;
- collabTooltip.appendChild(collabTooltipContent);
- collabspan.appendChild(collabTooltip);
+ Polymer.dom(collabTooltip).appendChild(collabTooltipContent);
+ Polymer.dom(collabspan).appendChild(collabTooltip);
var collabTooltipArrow = tr.ui.b.createDiv({
className: 'collaborator-tooltip-arrow'});
- collabTooltip.appendChild(collabTooltipArrow);
+ Polymer.dom(collabTooltip).appendChild(collabTooltipArrow);
var collabTooltipArrowBefore = tr.ui.b.createDiv({
className: 'collaborator-tooltip-arrow-before'});
- collabTooltipArrow.appendChild(collabTooltipArrowBefore);
+ Polymer.dom(collabTooltipArrow).appendChild(collabTooltipArrowBefore);
var collabTooltipArrowAfter = tr.ui.b.createDiv({
className: 'collaborator-tooltip-arrow-after'});
- collabTooltipArrow.appendChild(collabTooltipArrowAfter);
+ Polymer.dom(collabTooltipArrow).appendChild(collabTooltipArrowAfter);
var rect = imageList[i].image.getBoundingClientRect();
collabTooltip.style.top = (rect.bottom - 6) + 'px';

Powered by Google App Engine
This is Rietveld 408576698