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

Unified Diff: runtime/vm/timer.h

Issue 1410643008: Get rid of deprecated methods accessing mutator_thread_ instead of current thread (Closed) Base URL: https://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/stack_frame.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/timer.h
diff --git a/runtime/vm/timer.h b/runtime/vm/timer.h
index 4738efa50d539a09b9262571f7218edd8d3bdbb1..e4ee8904762b2db49d07cfbe3bba9074252bd662 100644
--- a/runtime/vm/timer.h
+++ b/runtime/vm/timer.h
@@ -108,13 +108,6 @@ class TimerScope : public StackResource {
Init();
}
- TimerScope(bool flag, Timer* timer, Isolate* isolate = NULL)
- : StackResource(isolate),
- nested_(false),
- timer_(flag ? timer : NULL) {
- Init();
- }
-
void Init() {
if (timer_ != NULL) {
if (!timer_->running()) {
« no previous file with comments | « runtime/vm/stack_frame.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698