diff options
Diffstat (limited to 'WebCore/inspector/front-end/SourceFrame.js')
-rw-r--r-- | WebCore/inspector/front-end/SourceFrame.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/WebCore/inspector/front-end/SourceFrame.js b/WebCore/inspector/front-end/SourceFrame.js index aecd57b..4b391ac 100644 --- a/WebCore/inspector/front-end/SourceFrame.js +++ b/WebCore/inspector/front-end/SourceFrame.js @@ -169,6 +169,14 @@ WebInspector.SourceFrame.prototype = { this._lineToHighlight = line; }, + clearLineHighlight: function() + { + if (this._textViewer) + this._textViewer.clearLineHighlight(); + else + delete this._lineToHighlight; + }, + _createViewerIfNeeded: function() { if (!this._visible || !this._loaded || this._textViewer) |