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

Unified Diff: chrome/browser/resources/chromeos/user_images_grid.js

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
« no previous file with comments | « no previous file | chrome/browser/resources/feedback/js/take_screenshot.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/chromeos/user_images_grid.js
diff --git a/chrome/browser/resources/chromeos/user_images_grid.js b/chrome/browser/resources/chromeos/user_images_grid.js
index a6ee27b185059bc7a5aa7a65714642c135481e08..068579150f7c73671051e8238f9c66729e55e9e4 100644
--- a/chrome/browser/resources/chromeos/user_images_grid.js
+++ b/chrome/browser/resources/chromeos/user_images_grid.js
@@ -295,7 +295,7 @@ cr.define('options', function() {
*/
handleCameraAvailable_: function(onAvailable, stream) {
if (this.cameraStartInProgress_ && onAvailable()) {
- this.cameraVideo_.src = window.webkitURL.createObjectURL(stream);
+ this.cameraVideo_.src = URL.createObjectURL(stream);
this.cameraStream_ = stream;
} else {
stream.stop();
« no previous file with comments | « no previous file | chrome/browser/resources/feedback/js/take_screenshot.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698