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

Unified Diff: runtime/vm/os_win.cc

Issue 14063008: Repair compilation with VTune support. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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/os_linux.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
}
« no previous file with comments | « runtime/vm/os_linux.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698