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

Unified Diff: chrome/common/extensions/docs/templates/articles/app_external.html

Issue 121203002: Use window.URL instead of window.webkitURL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: window.URL -> URL in user_images_grid.js Created 6 years, 11 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: chrome/common/extensions/docs/templates/articles/app_external.html
diff --git a/chrome/common/extensions/docs/templates/articles/app_external.html b/chrome/common/extensions/docs/templates/articles/app_external.html
index 2d707679d4b248b6863ec912ebe0b26e07476767..3023a4b22755211abe3db568975b239233fbccf7 100644
--- a/chrome/common/extensions/docs/templates/articles/app_external.html
+++ b/chrome/common/extensions/docs/templates/articles/app_external.html
@@ -61,7 +61,7 @@ xhr.open('GET', 'https://supersweetdomainbutnotcspfriendly.com/image.png', true)
xhr.responseType = 'blob';
xhr.onload = function(e) {
var img = document.createElement('img');
- img.src = window.webkitURL.createObjectURL(this.response);
+ img.src = window.URL.createObjectURL(this.response);
document.body.appendChild(img);
};

Powered by Google App Engine
This is Rietveld 408576698