| Index: third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js b/third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js
|
| index 33c71ee2fea48e94689d56cf39acf098bc7f5774..fe5f1c5a5a98a7ffa41025ff674e4b88069110bf 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js
|
| @@ -269,13 +269,15 @@ SDK.DebuggerModel = class extends SDK.SDKModel {
|
| /**
|
| * @param {!SDK.DebuggerModel.Location} startLocation
|
| * @param {!SDK.DebuggerModel.Location} endLocation
|
| + * @param {boolean} restrictToFunction
|
| * @return {!Promise<!Array<!SDK.DebuggerModel.Location>>}
|
| */
|
| - getPossibleBreakpoints(startLocation, endLocation) {
|
| + getPossibleBreakpoints(startLocation, endLocation, restrictToFunction) {
|
| var fulfill;
|
| var promise = new Promise(resolve => fulfill = resolve);
|
| this._agent.invoke_getPossibleBreakpoints(
|
| - {start: startLocation.payload(), end: endLocation.payload()}, checkErrorAndReturn.bind(this));
|
| + {start: startLocation.payload(), end: endLocation.payload(), restrictToFunction: restrictToFunction},
|
| + checkErrorAndReturn.bind(this));
|
| return promise;
|
|
|
| /**
|
|
|