Index: src/snapshot/code-serializer.cc |
diff --git a/src/snapshot/code-serializer.cc b/src/snapshot/code-serializer.cc |
index 1a2e077407eaf0bd36c8115451f19e9827eeb205..8eab571cab9339d873f4a516d8469545c1eab69d 100644 |
--- a/src/snapshot/code-serializer.cc |
+++ b/src/snapshot/code-serializer.cc |
@@ -7,7 +7,6 @@ |
#include "src/code-stubs.h" |
#include "src/log.h" |
#include "src/macro-assembler.h" |
-#include "src/profiler/cpu-profiler.h" |
#include "src/snapshot/deserializer.h" |
#include "src/version.h" |
@@ -185,8 +184,7 @@ MaybeHandle<SharedFunctionInfo> CodeSerializer::Deserialize( |
} |
result->set_deserialized(true); |
- if (isolate->logger()->is_logging_code_events() || |
- isolate->cpu_profiler()->is_profiling()) { |
+ if (isolate->logger()->is_logging_code_events() || isolate->is_profiling()) { |
String* name = isolate->heap()->empty_string(); |
if (result->script()->IsScript()) { |
Script* script = Script::cast(result->script()); |