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

Unified Diff: tests/compiler/dart2js/sourcemaps/sourcemap_helper.dart

Issue 1752393002: Add source mappings and inlined Dart code to diff_view. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comments. Created 4 years, 9 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
Index: tests/compiler/dart2js/sourcemaps/sourcemap_helper.dart
diff --git a/tests/compiler/dart2js/sourcemaps/sourcemap_helper.dart b/tests/compiler/dart2js/sourcemaps/sourcemap_helper.dart
index 019e8be34279a6942a863e54cb01f8c59757d192..73bc194a0e963af4379e719c84f568898ef9affc 100644
--- a/tests/compiler/dart2js/sourcemaps/sourcemap_helper.dart
+++ b/tests/compiler/dart2js/sourcemaps/sourcemap_helper.dart
@@ -388,17 +388,22 @@ class SourceMapProcessor {
}
return new SourceMaps(
- sourceFileManager, mainSourceMapInfo, elementSourceMapInfos);
+ compiler,
+ sourceFileManager,
+ mainSourceMapInfo,
+ elementSourceMapInfos);
}
}
class SourceMaps {
+ final api.CompilerImpl compiler;
final SourceFileManager sourceFileManager;
// TODO(johnniwinther): Supported multiple output units.
final SourceMapInfo mainSourceMapInfo;
final Map<Element, SourceMapInfo> elementSourceMapInfos;
SourceMaps(
+ this.compiler,
this.sourceFileManager,
this.mainSourceMapInfo,
this.elementSourceMapInfos);
« no previous file with comments | « tests/compiler/dart2js/sourcemaps/output_structure.dart ('k') | tests/compiler/dart2js/sourcemaps/sourcemap_html_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698