Chromium Code Reviews| Index: third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js |
| diff --git a/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js b/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js |
| index f4bef520da7b59be744c2975fdfcbf84505c7ad5..538424ec04ca1cdf5592e10ccaf427dcc5ec2367 100644 |
| --- a/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js |
| +++ b/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js |
| @@ -1050,7 +1050,9 @@ WebInspector.SourcesPanel.prototype = { |
| */ |
| _showGeneratorLocation: function(remoteObject) |
|
dgozman
2016/07/06 19:25:12
Let's remove this and rely on ObjectPropertiesSect
kozy
2016/07/06 22:38:41
Done.
|
| { |
| - remoteObject.debuggerModel().generatorObjectDetails(remoteObject, this._didGetFunctionOrGeneratorObjectDetails.bind(this)); |
| + remoteObject.debuggerModel().generatorObjectLocation(remoteObject) |
| + .then(location => ({ location: location })) |
| + .then(this._didGetFunctionOrGeneratorObjectDetails.bind(this)); |
| }, |
| /** |