Index: runtime/vm/os_win.cc |
diff --git a/runtime/vm/os_win.cc b/runtime/vm/os_win.cc |
index 7fa1b8c6aba315ec2b617cf0e3baac6912a36a63..2e1a398e7095dd841cf5dea28bb4d30c83830ce3 100644 |
--- a/runtime/vm/os_win.cc |
+++ b/runtime/vm/os_win.cc |
@@ -6,6 +6,7 @@ |
#if defined(TARGET_OS_WINDOWS) |
#include "vm/os.h" |
+#include "vm/vtune.h" |
#include <malloc.h> // NOLINT |
#include <time.h> // NOLINT |
@@ -254,7 +255,7 @@ bool OS::StringToInt64(const char* str, int64_t* value) { |
void OS::RegisterCodeObservers() { |
#if defined(DART_VTUNE_SUPPORT) |
- Register(new VTuneCodeObserver); |
+ CodeObservers::Register(new VTuneCodeObserver); |
#endif |
} |