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

Unified Diff: src/debug-debugger.js

Issue 2132003: Remove tabs (Closed)
Patch Set: Created 10 years, 7 months 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 | « src/d8.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/debug-debugger.js
diff --git a/src/debug-debugger.js b/src/debug-debugger.js
index 369a02c446db4136ce5c32c8388483b5542e16d4..77fa1ddd65e2c3623540e6b1acb399470ff0cc98 100644
--- a/src/debug-debugger.js
+++ b/src/debug-debugger.js
@@ -1586,27 +1586,27 @@ DebugCommandProcessor.prototype.clearBreakPointRequest_ = function(request, resp
DebugCommandProcessor.prototype.listBreakpointsRequest_ = function(request, response) {
var array = [];
for (var i = 0; i < script_break_points.length; i++) {
- var break_point = script_break_points[i];
-
- var description = {
- number: break_point.number(),
- line: break_point.line(),
- column: break_point.column(),
- groupId: break_point.groupId(),
- hit_count: break_point.hit_count(),
- active: break_point.active(),
- condition: break_point.condition(),
- ignoreCount: break_point.ignoreCount()
- }
-
+ var break_point = script_break_points[i];
+
+ var description = {
+ number: break_point.number(),
+ line: break_point.line(),
+ column: break_point.column(),
+ groupId: break_point.groupId(),
+ hit_count: break_point.hit_count(),
+ active: break_point.active(),
+ condition: break_point.condition(),
+ ignoreCount: break_point.ignoreCount()
+ }
+
if (break_point.type() == Debug.ScriptBreakPointType.ScriptId) {
description.type = 'scriptId';
- description.script_id = break_point.script_id();
+ description.script_id = break_point.script_id();
} else {
description.type = 'scriptName';
description.script_name = break_point.script_name();
}
- array.push(description);
+ array.push(description);
}
response.body = { breakpoints: array }
« no previous file with comments | « src/d8.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698