It sounds like addLineWidget just makes it happen.
Created attachment 172243 [details] Patch
Comment on attachment 172243 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=172243&action=review > Source/WebCore/inspector/front-end/CodeMirrorTextEditor.js:65 > + this._widgets = []; Looks like this._widgets is redundant, you only use it to iterate over all widgets but this could be done using this._elementToWidget. > Source/WebCore/inspector/front-end/CodeMirrorTextEditor.js:186 > + this._codeMirror.removeLineWidget(widget); Shouldn't we remove an entry from elementToWidget map as well here?
Created attachment 172316 [details] [Patch] for landing
Comment on attachment 172316 [details] [Patch] for landing Clearing flags on attachment: 172316 Committed r133460: <http://trac.webkit.org/changeset/133460>
All reviewed patches have been landed. Closing bug.