Chromium Code Reviews| Index: src/cpu-profiler.h |
| diff --git a/src/cpu-profiler.h b/src/cpu-profiler.h |
| index 6e2b0e09cdbf0653385620dcefd470eb2db860ca..4724bb7210e0f1ac97982902f539d4304c5d567a 100644 |
| --- a/src/cpu-profiler.h |
| +++ b/src/cpu-profiler.h |
| @@ -125,7 +125,8 @@ class TickSampleEventRecord { |
| // methods called by event producers: VM and stack sampler threads. |
| class ProfilerEventsProcessor : public Thread { |
| public: |
| - explicit ProfilerEventsProcessor(ProfileGenerator* generator); |
| + explicit ProfilerEventsProcessor(ProfileGenerator* generator, |
|
Jakob Kummerow
2013/04/25 16:06:39
nit: "explicit" not needed any more when you have
yurys
2013/04/26 07:49:38
Done.
|
| + CpuProfilesCollection* profiles); |
| virtual ~ProfilerEventsProcessor() {} |
| // Thread control. |
| @@ -178,6 +179,7 @@ class ProfilerEventsProcessor : public Thread { |
| INLINE(static bool FilterOutCodeCreateEvent(Logger::LogEventsAndTags tag)); |
| ProfileGenerator* generator_; |
| + CpuProfilesCollection* profiles_; |
| bool running_; |
| UnboundQueue<CodeEventsContainer> events_buffer_; |
| SamplingCircularQueue ticks_buffer_; |