Index: src/profile-generator.cc |
diff --git a/src/profile-generator.cc b/src/profile-generator.cc |
index e4c750cb83c1dbc8b489f2a08779d3b43ccacb0d..eacabeff4f1ab8c882b10c038052d2335d973759 100644 |
--- a/src/profile-generator.cc |
+++ b/src/profile-generator.cc |
@@ -894,7 +894,7 @@ void ProfileGenerator::RecordTickSample(const TickSample& sample) { |
if (sample.pc != NULL) { |
*entry++ = code_map_.FindEntry(sample.pc); |
- if (sample.has_external_callback) { |
+ if (sample.external_callback) { |
// Don't use PC when in external callback code, as it can point |
// inside callback's code, and we will erroneously report |
// that a callback calls itself. |