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

Unified Diff: runtime/observatory/tests/observatory_ui/mocks/objects/code.dart

Issue 2244433003: Converted Observatory refs elements (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Merged with master Created 4 years, 4 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: runtime/observatory/tests/observatory_ui/mocks/objects/code.dart
diff --git a/runtime/observatory/tests/observatory_ui/mocks/objects/code.dart b/runtime/observatory/tests/observatory_ui/mocks/objects/code.dart
index 7d2f7254887354adad7eb309f11dcfe5dce92dc5..528d70afba422c31b42d349978b8994d5cc07fd3 100644
--- a/runtime/observatory/tests/observatory_ui/mocks/objects/code.dart
+++ b/runtime/observatory/tests/observatory_ui/mocks/objects/code.dart
@@ -16,8 +16,11 @@ class CodeRefMock implements M.CodeRef {
class CodeMock implements M.Code {
final String id;
final String name;
+ final M.ClassRef clazz;
+ final int size;
final M.CodeKind kind;
final bool isOptimized;
- const CodeMock({this.id, this.name, this.kind, this.isOptimized: false });
+ const CodeMock({this.id, this.name, this.clazz, this.size, this.kind,
+ this.isOptimized: false });
}

Powered by Google App Engine
This is Rietveld 408576698