| Index: src/platform-win32.cc
|
| diff --git a/src/platform-win32.cc b/src/platform-win32.cc
|
| index 54eed4a3b54a142590ddf5f06587f22de4890b7e..fcf1f8f18b360ffe451243ea1dddc6b3457937d0 100644
|
| --- a/src/platform-win32.cc
|
| +++ b/src/platform-win32.cc
|
| @@ -1816,7 +1816,7 @@ class Sampler::PlatformData : public Malloced {
|
| #endif // ENABLE_CPP_PROFILES_PROCESSOR
|
|
|
| // We always sample the VM state.
|
| - sample->state = Logger::state();
|
| + sample->state = VMState::current_state();
|
| // If profiling, we record the pc and sp of the profiled thread.
|
| if (sampler_->IsProfiling()
|
| && SuspendThread(profiled_thread_) != (DWORD)-1) {
|
|
|