Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js

Issue 2545813003: [DevTools] fix minor issue with inline breakpoints (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/inspector/sources/debugger/source-frame-inline-breakpoint-decorations-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js b/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js
index 628f2ab47b7b24218a0dbb9c3052418c9ed78755..5d716f8aa3bf801db7972107d798d866055de434 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js
@@ -794,7 +794,7 @@ Sources.JavaScriptSourceFrame = class extends Sources.UISourceCodeFrame {
new Set(decorations.map(decoration => decoration.bookmark).filter(bookmark => !!bookmark));
var lineEnd = this._textEditor.line(lineNumber).length;
var bookmarks = this._textEditor.bookmarks(
- new Common.TextRange(lineNumber, 0, lineEnd, 0),
+ new Common.TextRange(lineNumber, 0, lineNumber, lineEnd),
Sources.JavaScriptSourceFrame.BreakpointDecoration.bookmarkSymbol);
for (var bookmark of bookmarks) {
if (!actualBookmarks.has(bookmark))
« no previous file with comments | « third_party/WebKit/LayoutTests/inspector/sources/debugger/source-frame-inline-breakpoint-decorations-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698