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

Unified Diff: third_party/WebKit/Source/devtools/front_end/Runtime.js

Issue 2516563003: [DevTools] Remove InspectorBackendHostedMode. (Closed)
Patch Set: Created 4 years, 1 month 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: third_party/WebKit/Source/devtools/front_end/Runtime.js
diff --git a/third_party/WebKit/Source/devtools/front_end/Runtime.js b/third_party/WebKit/Source/devtools/front_end/Runtime.js
index 060b400e2eab64cb01775f34690db34a0abb8611..243a44ca654a3647e31133993589138713289bfa 100644
--- a/third_party/WebKit/Source/devtools/front_end/Runtime.js
+++ b/third_party/WebKit/Source/devtools/front_end/Runtime.js
@@ -193,7 +193,7 @@ var Runtime = class {
* @param {boolean} appendSourceURL
* @return {!Promise<undefined>}
*/
- static loadResourceIntoCache(url, appendSourceURL) {
+ static _loadResourceIntoCache(url, appendSourceURL) {
return Runtime.loadResourcePromise(url).then(
cacheResource.bind(this, url), cacheResource.bind(this, url, undefined));
@@ -753,7 +753,7 @@ Runtime.Module = class {
var promises = [];
for (var i = 0; i < resources.length; ++i) {
var url = this._modularizeURL(resources[i]);
- promises.push(Runtime.loadResourceIntoCache(url, true));
+ promises.push(Runtime._loadResourceIntoCache(url, true));
}
return Promise.all(promises).then(undefined);
}

Powered by Google App Engine
This is Rietveld 408576698