Index: src/log.h |
diff --git a/src/log.h b/src/log.h |
index 9953b4cd8735468e157c2b18b008a541afece107..dec389a3a9aef26b9b4db8e33bfb3bee3964b32c 100644 |
--- a/src/log.h |
+++ b/src/log.h |
@@ -19,6 +19,10 @@ namespace base { |
class Semaphore; |
} |
+namespace sampler { |
+class Sampler; |
+} |
+ |
namespace internal { |
// Logger is used for collecting logging information from V8 during |
@@ -141,7 +145,6 @@ class JitLogger; |
class PerfBasicLogger; |
class LowLevelLogger; |
class PerfJitLogger; |
-class Sampler; |
class Logger { |
public: |
@@ -161,7 +164,7 @@ class Logger { |
void SetCodeEventHandler(uint32_t options, |
JitCodeEventHandler event_handler); |
- Sampler* sampler(); |
+ sampler::Sampler* sampler(); |
// Frees resources acquired in SetUp. |
// When a temporary file is used for the log, returns its stream descriptor, |