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

Unified Diff: chrome/browser/resources/file_manager/playlist.html

Issue 8727028: Eliminate use of assignments to innerHTML in File Browser (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Deleted another redundant file Created 9 years, 1 month 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 | « chrome/browser/resources/file_manager/mediaplayer.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/file_manager/playlist.html
diff --git a/chrome/browser/resources/file_manager/playlist.html b/chrome/browser/resources/file_manager/playlist.html
index 5c7ff3118436844d067367231bdd84e4f9a98226..56a6ffa85652cbcb6b64285330dbe3440dc6997d 100644
--- a/chrome/browser/resources/file_manager/playlist.html
+++ b/chrome/browser/resources/file_manager/playlist.html
@@ -105,7 +105,7 @@ function setPlaylistOffset(offset) {
function updateUI() {
var main = $('main');
if (currentPlaylist) {
- main.innerHTML = '';
+ main.textContent = '';
var main = $('main');
for (var x = 0; x < currentPlaylist.length; x++) {
var rowdiv = document.createElement('div');
« no previous file with comments | « chrome/browser/resources/file_manager/mediaplayer.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698