Index: third_party/WebKit/Source/devtools/front_end/network/HARWriter.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/network/HARWriter.js b/third_party/WebKit/Source/devtools/front_end/network/HARWriter.js |
index a5ed27a5ce27e642d29933feaa87e294d1401ab6..a460f03ca3dc5d0c4d3509e7c2ec4179e0234cfa 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/network/HARWriter.js |
+++ b/third_party/WebKit/Source/devtools/front_end/network/HARWriter.js |
@@ -51,7 +51,7 @@ WebInspector.HARWriter.prototype = { |
var content = requests[i].content; |
if (typeof content === "undefined" && requests[i].finished) { |
++this._pendingRequests; |
- requests[i].requestContent(this._onContentAvailable.bind(this, entries[i], requests[i])); |
+ requests[i].requestContent().then(this._onContentAvailable.bind(this, entries[i], requests[i])); |
} else if (content !== null) |
this._setEntryContent(entries[i], requests[i]); |
} |