| 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 e276bcd4640107b66bb371fc17fccbc6bceb18a0..aa7a8950f2d10d91ce84e3085de2bfc7ba9a45a2 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
|
| @@ -978,12 +978,12 @@ WebInspector.SourcesPanel.prototype = {
|
| if (!currentExecutionContext)
|
| return;
|
|
|
| - currentExecutionContext.globalObject("", false, false, didGetGlobalObject);
|
| + currentExecutionContext.globalObject("", false, didGetGlobalObject);
|
| /**
|
| * @param {?WebInspector.RemoteObject} global
|
| - * @param {boolean=} wasThrown
|
| + * @param {!RuntimeAgent.ExceptionDetails=} exceptionDetails
|
| */
|
| - function didGetGlobalObject(global, wasThrown)
|
| + function didGetGlobalObject(global, exceptionDetails)
|
| {
|
| /**
|
| * @suppressReceiverCheck
|
| @@ -1000,7 +1000,7 @@ WebInspector.SourcesPanel.prototype = {
|
| return name;
|
| }
|
|
|
| - if (wasThrown || !global)
|
| + if (!!exceptionDetails || !global)
|
| failedToSave(global);
|
| else
|
| global.callFunction(remoteFunction, [WebInspector.RemoteObject.toCallArgument(remoteObject)], didSave.bind(null, global));
|
|
|