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

Unified Diff: third_party/dart-packages/stack_trace/stack_trace/src/lazy_trace.dart

Issue 971083002: Create an apptesting framework for dart. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Update upload_binaries.py to add the apptest.dartzip artifact. Created 5 years, 10 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: third_party/dart-packages/stack_trace/stack_trace/src/lazy_trace.dart
diff --git a/sky/tests/resources/third_party/stack_trace/src/lazy_trace.dart b/third_party/dart-packages/stack_trace/stack_trace/src/lazy_trace.dart
similarity index 87%
copy from sky/tests/resources/third_party/stack_trace/src/lazy_trace.dart
copy to third_party/dart-packages/stack_trace/stack_trace/src/lazy_trace.dart
index 874123ef4e07699529b8ddd615bf164342213d6b..21bb67ffad08d67f428e0b0c06f6498e4aceec38 100644
--- a/sky/tests/resources/third_party/stack_trace/src/lazy_trace.dart
+++ b/third_party/dart-packages/stack_trace/stack_trace/src/lazy_trace.dart
@@ -27,8 +27,8 @@ class LazyTrace implements Trace {
List<Frame> get frames => _trace.frames;
StackTrace get vmTrace => _trace.vmTrace;
Trace get terse => new LazyTrace(() => _trace.terse);
- Trace foldFrames(bool predicate(frame)) =>
- new LazyTrace(() => _trace.foldFrames(predicate));
+ Trace foldFrames(bool predicate(frame), {bool terse: false}) =>
+ new LazyTrace(() => _trace.foldFrames(predicate, terse: terse));
String toString() => _trace.toString();
// Work around issue 14075.

Powered by Google App Engine
This is Rietveld 408576698