Index: src/sampler.cc |
diff --git a/src/sampler.cc b/src/sampler.cc |
index 0ed4b379626a9746038b6e05b1661cee522f4f1f..7ee7216c2fdbfe83f8cae8bba71763cf11381b5d 100644 |
--- a/src/sampler.cc |
+++ b/src/sampler.cc |
@@ -331,7 +331,7 @@ void SignalHandler::HandleProfilerSignal(int signal, siginfo_t* info, |
#else |
USE(info); |
if (signal != SIGPROF) return; |
- Isolate* isolate = Isolate::UncheckedReentrantCurrent(); |
+ Isolate* isolate = Isolate::UncheckedCurrent(); |
if (isolate == NULL || !isolate->IsInitialized() || !isolate->IsInUse()) { |
// We require a fully initialized and entered isolate. |
return; |