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

Unified Diff: runtime/vm/class_table.cc

Issue 1090293003: Kill service_test.cc tests in favor of dart tests for the service protocol. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fix tests Created 5 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 | « runtime/observatory/tests/service/weak_properties_test.dart ('k') | runtime/vm/object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/class_table.cc
diff --git a/runtime/vm/class_table.cc b/runtime/vm/class_table.cc
index d9dfd766fca0041fccf368d6ad019668b838a8ce..8ec699b6bf21f4ca2f3d77bbc26ba122eeb4f344 100644
--- a/runtime/vm/class_table.cc
+++ b/runtime/vm/class_table.cc
@@ -304,7 +304,6 @@ void ClassHeapStats::UpdatePromotedAfterNewGC() {
void ClassHeapStats::PrintToJSONObject(const Class& cls,
JSONObject* obj) const {
obj->AddProperty("type", "ClassHeapStats");
- obj->AddPropertyF("id", "allocationprofile/%" Pd "", cls.id());
obj->AddProperty("class", cls);
{
JSONArray new_stats(obj, "new");
@@ -423,7 +422,6 @@ void ClassTable::AllocationProfilePrintJSON(JSONStream* stream) {
ASSERT(heap != NULL);
JSONObject obj(stream);
obj.AddProperty("type", "AllocationProfile");
- obj.AddProperty("id", "allocationprofile");
obj.AddPropertyF(
"dateLastAccumulatorReset",
"%" Pd64 "",
« no previous file with comments | « runtime/observatory/tests/service/weak_properties_test.dart ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698