Chromium Code Reviews| Index: src/messages.js |
| diff --git a/src/messages.js b/src/messages.js |
| index 12170c463a54cfca49b984226a5e07964ed57f32..0120ca50e9a8b56a883fdfe6e782564c8b08c085 100644 |
| --- a/src/messages.js |
| +++ b/src/messages.js |
| @@ -779,7 +779,7 @@ function GetPositionInLine(message) { |
| var location = script.locationFromPosition(start_position, false); |
| if (location == null) return -1; |
| location.restrict(); |
| - return start_position - location.start; |
| + return location.column; |
| } |