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

Unified Diff: chrome/common/extensions/docs/templates/articles/app_codelab8_webresources.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_codelab8_webresources.html
diff --git a/chrome/common/extensions/docs/templates/articles/app_codelab8_webresources.html b/chrome/common/extensions/docs/templates/articles/app_codelab8_webresources.html
index 880bab9c62ad703caca2cab41f2cc44134d701f8..b3cdf1cb36d2086b9035bec9258fd7161b7a478c 100644
--- a/chrome/common/extensions/docs/templates/articles/app_codelab8_webresources.html
+++ b/chrome/common/extensions/docs/templates/articles/app_codelab8_webresources.html
@@ -223,7 +223,7 @@ var loadImage = function(uri, callback) {
var xhr = new XMLHttpRequest();
xhr.responseType = 'blob';
xhr.onload = function() {
- callback(window.webkitURL.createObjectURL(xhr.response), uri);
+ callback(window.URL.createObjectURL(xhr.response), uri);
}
xhr.open('GET', uri, true);
xhr.send();

Powered by Google App Engine
This is Rietveld 408576698