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

Unified Diff: chrome/browser/resources/profiler/profiler.js

Issue 121203002: Use window.URL instead of window.webkitURL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years 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/browser/resources/profiler/profiler.js
diff --git a/chrome/browser/resources/profiler/profiler.js b/chrome/browser/resources/profiler/profiler.js
index 156e806e03b2cb8da574486fc832e34483690eb6..a9c44c4fa3a7348dce1aa9d4feddf69ed9fc4c59 100644
--- a/chrome/browser/resources/profiler/profiler.js
+++ b/chrome/browser/resources/profiler/profiler.js
@@ -1801,7 +1801,7 @@ var MainView = (function() {
var dumpText = JSON.stringify(dump, null, ' ');
var textBlob = new Blob([dumpText],
{ type: 'octet/stream', endings: 'native' });
- var blobUrl = window.webkitURL.createObjectURL(textBlob);
+ var blobUrl = window.URL.createObjectURL(textBlob);
$(DOWNLOAD_ANCHOR_ID).href = blobUrl;
$(DOWNLOAD_ANCHOR_ID).click();
},

Powered by Google App Engine
This is Rietveld 408576698