| Index: Source/devtools/front_end/sdk/CompilerScriptMapping.js
|
| diff --git a/Source/devtools/front_end/sdk/CompilerScriptMapping.js b/Source/devtools/front_end/sdk/CompilerScriptMapping.js
|
| index 141cf63b90c5814e921f90945b0453f1908cc696..47432498911831f4b8d0637d3f1c0d37e82323e6 100644
|
| --- a/Source/devtools/front_end/sdk/CompilerScriptMapping.js
|
| +++ b/Source/devtools/front_end/sdk/CompilerScriptMapping.js
|
| @@ -134,10 +134,12 @@ WebInspector.CompilerScriptMapping.prototype = {
|
| this._networkWorkspaceBinding.addFileForURL(sourceURL, contentProvider, script.isContentScript());
|
| }
|
| var uiSourceCode = this._workspace.uiSourceCodeForURL(sourceURL);
|
| - if (uiSourceCode)
|
| + if (uiSourceCode) {
|
| this._bindUISourceCode(uiSourceCode);
|
| - else
|
| - this._target.consoleModel.showErrorMessage(WebInspector.UIString("Failed to locate workspace file mapped to URL %s from source map %s", sourceURL, sourceMap.url()));
|
| + } else {
|
| + // FIXME: Make use of this._target once we have more targets.
|
| + WebInspector.messageSink.addErrorMessage(WebInspector.UIString("Failed to locate workspace file mapped to URL %s from source map %s", sourceURL, sourceMap.url()), true);
|
| + }
|
| }
|
| script.updateLocations();
|
| }
|
|
|