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

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: 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/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();
},
« no previous file with comments | « chrome/browser/resources/net_internals/export_view.js ('k') | chrome/browser/resources/sync_internals/data.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698