Index: runtime/vm/os_linux.cc |
diff --git a/runtime/vm/os_linux.cc b/runtime/vm/os_linux.cc |
index d97a3a77a32c773112a6c5a40b23252e9ae9ee7a..edfb890a73fac8ce8efd3b9c026eff25dec9854f 100644 |
--- a/runtime/vm/os_linux.cc |
+++ b/runtime/vm/os_linux.cc |
@@ -40,7 +40,7 @@ DEFINE_FLAG(bool, generate_perf_events_symbols, false, |
class PerfCodeObserver : public CodeObserver { |
public: |
PerfCodeObserver() : out_file_(NULL) { |
- Dart_FileOpenCallback file_open = Isolate::file_open_callback(); |
+ Dart_FileOpenCallback file_open = Dart::file_open_callback(); |
if (file_open == NULL) { |
return; |
} |
@@ -51,7 +51,7 @@ class PerfCodeObserver : public CodeObserver { |
} |
~PerfCodeObserver() { |
- Dart_FileCloseCallback file_close = Isolate::file_close_callback(); |
+ Dart_FileCloseCallback file_close = Dart::file_close_callback(); |
if ((file_close == NULL) || (out_file_ == NULL)) { |
return; |
} |
@@ -67,7 +67,7 @@ class PerfCodeObserver : public CodeObserver { |
uword prologue_offset, |
uword size, |
bool optimized) { |
- Dart_FileWriteCallback file_write = Isolate::file_write_callback(); |
+ Dart_FileWriteCallback file_write = Dart::file_write_callback(); |
if ((file_write == NULL) || (out_file_ == NULL)) { |
return; |
} |