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

Unified Diff: pkg/source_maps/lib/builder.dart

Issue 237123003: Support unmapped areas in source maps. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Adressed comments. Created 6 years, 8 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 | « no previous file | pkg/source_maps/lib/parser.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/source_maps/lib/builder.dart
diff --git a/pkg/source_maps/lib/builder.dart b/pkg/source_maps/lib/builder.dart
index 12587cd84bf1ee2d235987e1310e36760b0016dc..ef22e3123720dcdf9d726c85662ac3b06c24cd61 100644
--- a/pkg/source_maps/lib/builder.dart
+++ b/pkg/source_maps/lib/builder.dart
@@ -75,15 +75,10 @@ class SourceMapBuilder {
column = _append(buff, column, entry.target.column);
// Encoding can be just the column offset if there is no source
- // information, or if two consecutive mappings share exactly the same
- // source information.
+ // information.
var source = entry.source;
if (source == null) continue;
var newUrlId = _indexOf(_urls, source.sourceUrl);
- if (newUrlId == srcUrlId && source.line == srcLine
- && source.column == srcColumn && entry.identifierName == null) {
- continue;
- }
srcUrlId = _append(buff, srcUrlId, newUrlId);
srcLine = _append(buff, srcLine, source.line);
« no previous file with comments | « no previous file | pkg/source_maps/lib/parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698