diff options
Diffstat (limited to 'WebCore/inspector/front-end/SourceView.js')
-rw-r--r-- | WebCore/inspector/front-end/SourceView.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/WebCore/inspector/front-end/SourceView.js b/WebCore/inspector/front-end/SourceView.js index e4d7fed..1bf8194 100644 --- a/WebCore/inspector/front-end/SourceView.js +++ b/WebCore/inspector/front-end/SourceView.js @@ -58,8 +58,8 @@ WebInspector.SourceView.prototype = { hide: function() { - WebInspector.View.prototype.hide.call(this); this.sourceFrame.visible = false; + WebInspector.View.prototype.hide.call(this); if (this.localSourceFrame) this.localSourceFrame.visible = false; this._currentSearchResultIndex = -1; @@ -127,7 +127,7 @@ WebInspector.SourceView.prototype = { _addBreakpoint: function(line) { var sourceID = this._sourceIDForLine(line); - WebInspector.breakpointManager.addBreakpoint(sourceID, this.resource.url, line, true, ""); + WebInspector.breakpointManager.setBreakpoint(sourceID, this.resource.url, line, true, ""); }, _removeBreakpoint: function(breakpoint) |