| Index: third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js b/third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js
|
| index 957b5baea9d01e8a6a2c06d234e91fb57f678dd4..1a0064217b4a120d9ebd6046023a9029b7a64e47 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js
|
| @@ -634,7 +634,7 @@ WebInspector.NavigatorView.prototype = {
|
| }
|
|
|
| if (uiSourceCodeToCopy)
|
| - uiSourceCodeToCopy.requestContent(contentLoaded.bind(this));
|
| + uiSourceCodeToCopy.requestContent().then(contentLoaded.bind(this));
|
| else
|
| createFile.call(this);
|
|
|
| @@ -865,7 +865,7 @@ WebInspector.NavigatorSourceTreeElement.prototype = {
|
| _onmousedown: function(event)
|
| {
|
| if (event.which === 1) // Warm-up data for drag'n'drop
|
| - this._uiSourceCode.requestContent(callback.bind(this));
|
| + this._uiSourceCode.requestContent().then(callback.bind(this));
|
| /**
|
| * @param {?string} content
|
| * @this {WebInspector.NavigatorSourceTreeElement}
|
|
|