Index: third_party/WebKit/Source/devtools/front_end/sources/SourcesSearchScope.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/SourcesSearchScope.js b/third_party/WebKit/Source/devtools/front_end/sources/SourcesSearchScope.js |
index 570a7f2dcf11f13d2a1c5c8c8d2aca8ec107a252..5aeeaea738345d2a4f0ada6dad940f9c28c4f584 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/sources/SourcesSearchScope.js |
+++ b/third_party/WebKit/Source/devtools/front_end/sources/SourcesSearchScope.js |
@@ -230,7 +230,7 @@ WebInspector.SourcesSearchScope.prototype = { |
*/ |
function contentUpdated(uiSourceCode) |
{ |
- uiSourceCode.requestContent(contentLoaded.bind(this, uiSourceCode)); |
+ uiSourceCode.requestContent().then(contentLoaded.bind(this, uiSourceCode)); |
} |
/** |