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

Unified Diff: runtime/vm/timer.h

Issue 269023005: - Ensure that BaseIsolate is only used to break the header include cycles. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 7 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/vm/timer.h
===================================================================
--- runtime/vm/timer.h (revision 35767)
+++ runtime/vm/timer.h (working copy)
@@ -135,7 +135,7 @@
// }
class TimerScope : public StackResource {
public:
- TimerScope(bool flag, Timer* timer, BaseIsolate* isolate = NULL)
+ TimerScope(bool flag, Timer* timer, Isolate* isolate = NULL)
: StackResource(isolate), flag_(flag), nested_(false), timer_(timer) {
if (flag_) {
if (!timer_->running()) {
@@ -165,7 +165,7 @@
class PauseTimerScope : public StackResource {
public:
- PauseTimerScope(bool flag, Timer* timer, BaseIsolate* isolate = NULL)
+ PauseTimerScope(bool flag, Timer* timer, Isolate* isolate = NULL)
: StackResource(isolate), flag_(flag), nested_(false), timer_(timer) {
if (flag_) {
if (timer_->running()) {
« runtime/vm/allocation.h ('K') | « runtime/vm/handles.cc ('k') | runtime/vm/zone.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698