| Index: third_party/WebKit/Source/devtools/front_end/bindings/PresentationConsoleMessageHelper.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/bindings/PresentationConsoleMessageHelper.js b/third_party/WebKit/Source/devtools/front_end/bindings/PresentationConsoleMessageHelper.js
|
| index 0f66b56b2209243d9d9862a35c5dd1b6df198982..7d54c7041d51c09350d820fed38871ada4367289 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/bindings/PresentationConsoleMessageHelper.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/bindings/PresentationConsoleMessageHelper.js
|
| @@ -173,12 +173,15 @@ WebInspector.PresentationConsoleMessage = function(message, rawLocation)
|
|
|
| WebInspector.PresentationConsoleMessage.prototype = {
|
| /**
|
| - * @param {!WebInspector.UILocation} uiLocation
|
| + * @param {!WebInspector.LiveLocation} liveLocation
|
| */
|
| - _updateLocation: function(uiLocation)
|
| + _updateLocation: function(liveLocation)
|
| {
|
| if (this._uiMessage)
|
| this._uiMessage.remove();
|
| + var uiLocation = liveLocation.uiLocation();
|
| + if (!uiLocation)
|
| + return;
|
| this._uiMessage = uiLocation.uiSourceCode.addLineMessage(this._level, this._text, uiLocation.lineNumber, uiLocation.columnNumber);
|
| },
|
|
|
|
|