| Index: third_party/WebKit/Source/devtools/front_end/source_frame/ImageView.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/source_frame/ImageView.js b/third_party/WebKit/Source/devtools/front_end/source_frame/ImageView.js
|
| index a07ef54e156c67b1c6b28d00f353a180834f54d5..433f7e0fa6de4b52b7f5643ec5e965b738d9ea37 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/source_frame/ImageView.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/source_frame/ImageView.js
|
| @@ -71,7 +71,7 @@ WebInspector.ImageView.prototype = {
|
| imagePreviewElement.addEventListener("contextmenu", this._contextMenu.bind(this), true);
|
| WebInspector.Resource.populateImageSource(this._url, this._mimeType, this._contentProvider, imagePreviewElement);
|
|
|
| - this._contentProvider.requestContent(onContentAvailable.bind(this));
|
| + this._contentProvider.requestContent().then(onContentAvailable.bind(this));
|
|
|
| /**
|
| * @param {?string} content
|
|
|