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

Unified Diff: runtime/vm/object.cc

Issue 1395803002: Stop holding onto TimelineEvents (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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/vm/dart.cc ('k') | runtime/vm/timeline.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.cc
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
index 4f8839454f6f52d760deea29e87674a300720a6a..bbe5cdaf88ca7a504bed8e51cf3129e4780dd7ba 100644
--- a/runtime/vm/object.cc
+++ b/runtime/vm/object.cc
@@ -1062,7 +1062,7 @@ void Object::RegisterPrivateClass(const Class& cls,
RawError* Object::Init(Isolate* isolate) {
Thread* thread = Thread::Current();
ASSERT(isolate == thread->isolate());
- TimelineDurationScope tds(isolate,
+ TimelineDurationScope tds(thread,
isolate->GetIsolateStream(),
"Object::Init");
« no previous file with comments | « runtime/vm/dart.cc ('k') | runtime/vm/timeline.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698