Index: src/profiler/cpu-profiler.cc |
diff --git a/src/profiler/cpu-profiler.cc b/src/profiler/cpu-profiler.cc |
index dbd0434b0aa4852d8863651b8ad647175996a268..5e4a444e8c957c37163714bf360d973ddf1eb972 100644 |
--- a/src/profiler/cpu-profiler.cc |
+++ b/src/profiler/cpu-profiler.cc |
@@ -21,7 +21,7 @@ |
ProfilerEventsProcessor::ProfilerEventsProcessor(ProfileGenerator* generator, |
- sampler::Sampler* sampler, |
+ Sampler* sampler, |
base::TimeDelta period) |
: Thread(Thread::Options("v8:ProfEvntProc", kProfilerStackSize)), |
generator_(generator), |
@@ -566,7 +566,7 @@ |
saved_is_logging_ = logger->is_logging_; |
logger->is_logging_ = false; |
generator_ = new ProfileGenerator(profiles_); |
- sampler::Sampler* sampler = logger->sampler(); |
+ Sampler* sampler = logger->sampler(); |
processor_ = new ProfilerEventsProcessor( |
generator_, sampler, sampling_interval_); |
is_profiling_ = true; |
@@ -612,8 +612,7 @@ |
void CpuProfiler::StopProcessor() { |
Logger* logger = isolate_->logger(); |
- sampler::Sampler* sampler = |
- reinterpret_cast<sampler::Sampler*>(logger->ticker_); |
+ Sampler* sampler = reinterpret_cast<Sampler*>(logger->ticker_); |
is_profiling_ = false; |
processor_->StopSynchronously(); |
delete processor_; |