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

Unified Diff: third_party/WebKit/Source/devtools/front_end/common/StaticContentProvider.js

Issue 2695123004: DevTools: Only provide static script content to UISourceCode (Closed)
Patch Set: another try Created 3 years, 10 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: third_party/WebKit/Source/devtools/front_end/common/StaticContentProvider.js
diff --git a/third_party/WebKit/Source/devtools/front_end/common/StaticContentProvider.js b/third_party/WebKit/Source/devtools/front_end/common/StaticContentProvider.js
index 07bfc7eb68f97b806f0e2b181fd4e4d508f38268..6111e3b56b53e91a97d15f7c1d871458ee55ee02 100644
--- a/third_party/WebKit/Source/devtools/front_end/common/StaticContentProvider.js
+++ b/third_party/WebKit/Source/devtools/front_end/common/StaticContentProvider.js
@@ -49,7 +49,7 @@ Common.StaticContentProvider = class {
* @return {!Promise<?string>}
*/
requestContent() {
- return /** @type {!Promise<?string>} */ (this._lazyContent());
+ return this._lazyContent();
}
/**

Powered by Google App Engine
This is Rietveld 408576698