Index: runtime/vm/os_android.cc |
diff --git a/runtime/vm/os_android.cc b/runtime/vm/os_android.cc |
index 0bf5d36c12a6ca77de2448dee37fedaae16c4cab..6b198784819fc247d5186c0df4b6aaab195f7d91 100644 |
--- a/runtime/vm/os_android.cc |
+++ b/runtime/vm/os_android.cc |
@@ -22,6 +22,7 @@ |
#include "vm/dart.h" |
#include "vm/debuginfo.h" |
#include "vm/isolate.h" |
+#include "vm/vtune.h" |
#include "vm/zone.h" |
@@ -381,7 +382,7 @@ void OS::RegisterCodeObservers() { |
CodeObservers::Register(new PprofCodeObserver); |
} |
#if defined(DART_VTUNE_SUPPORT) |
- Register(new VTuneCodeObserver); |
+ CodeObservers::Register(new VTuneCodeObserver); |
#endif |
} |