| Index: Source/devtools/front_end/main/Main.js
|
| diff --git a/Source/devtools/front_end/main/Main.js b/Source/devtools/front_end/main/Main.js
|
| index c58c6071429479210e040fc63732616d07ee69ea..40b0d5a4f663816b29f4ca9d2de3a8a6582588bb 100644
|
| --- a/Source/devtools/front_end/main/Main.js
|
| +++ b/Source/devtools/front_end/main/Main.js
|
| @@ -588,25 +588,21 @@ WebInspector.Main.prototype = {
|
| }
|
|
|
| if (object.type === "function") {
|
| - /**
|
| - * @param {?Protocol.Error} error
|
| - * @param {!DebuggerAgent.FunctionDetails} response
|
| - */
|
| object.functionDetails(didGetDetails);
|
| return;
|
| }
|
|
|
| /**
|
| - * @param {?DebuggerAgent.FunctionDetails} response
|
| + * @param {?WebInspector.DebuggerModel.FunctionDetails} response
|
| */
|
| function didGetDetails(response)
|
| {
|
| object.release();
|
|
|
| - if (!response)
|
| + if (!response || !response.location)
|
| return;
|
|
|
| - WebInspector.Revealer.reveal(WebInspector.DebuggerModel.Location.fromPayload(object.target(), response.location).toUILocation());
|
| + WebInspector.Revealer.reveal(response.location.toUILocation());
|
| }
|
|
|
| if (hints.copyToClipboard)
|
|
|