Index: third_party/WebKit/Source/devtools/front_end/workspace/UISourceCode.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/workspace/UISourceCode.js b/third_party/WebKit/Source/devtools/front_end/workspace/UISourceCode.js |
index 7872902a8c3287ff3140427ab810e47d36659a70..70f3bb663b77e3ff2b3e84902c73e76aedca15b3 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/workspace/UISourceCode.js |
+++ b/third_party/WebKit/Source/devtools/front_end/workspace/UISourceCode.js |
@@ -289,10 +289,7 @@ Workspace.UISourceCode = class extends Common.Object { |
* @return {!Promise<?string>} |
*/ |
requestOriginalContent() { |
- var callback; |
- var promise = new Promise(fulfill => callback = fulfill); |
- this._project.requestFileContent(this, callback); |
- return promise; |
+ return this._project.requestOriginalFileContent(this); |
} |
/** |