Index: third_party/WebKit/Source/devtools/front_end/bindings/StylesSourceMapping.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/bindings/StylesSourceMapping.js b/third_party/WebKit/Source/devtools/front_end/bindings/StylesSourceMapping.js |
index 12f8fddd6a71a34e77cec074314790d84c953758..0f1b608ae9c5d9b35b786659d533349acaa16193 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/bindings/StylesSourceMapping.js |
+++ b/third_party/WebKit/Source/devtools/front_end/bindings/StylesSourceMapping.js |
@@ -310,7 +310,7 @@ WebInspector.StylesSourceMapping.prototype = { |
var uiSourceCode = this._networkMapping.uiSourceCodeForStyleURL(styleSheetURL, header); |
if (!uiSourceCode) |
return; |
- header.requestContent(callback.bind(this, uiSourceCode)); |
+ header.requestContent().then(callback.bind(this, uiSourceCode)); |
/** |
* @param {!WebInspector.UISourceCode} uiSourceCode |