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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/JavaScriptBreakpointsSidebarPane.js

Issue 1609973002: DevTools: promisify ContentProvider.requestContent and all its clients. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit Created 4 years, 11 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/sources/JavaScriptBreakpointsSidebarPane.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptBreakpointsSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptBreakpointsSidebarPane.js
index 106436af7abb3d1f61af0057d63d80064adab94d..a7873ee21d1913aa96da90efa52719df94c7d47e 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptBreakpointsSidebarPane.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptBreakpointsSidebarPane.js
@@ -99,7 +99,7 @@ WebInspector.JavaScriptBreakpointsSidebarPane.prototype = {
this.didReceiveBreakpointLineForTest(uiLocation.uiSourceCode);
}
- uiLocation.uiSourceCode.requestContent(didRequestContent.bind(this));
+ uiLocation.uiSourceCode.requestContent().then(didRequestContent.bind(this));
element._data = uiLocation;
var currentElement = this.listElement.firstChild;

Powered by Google App Engine
This is Rietveld 408576698