Index: include/v8-profiler.h |
diff --git a/include/v8-profiler.h b/include/v8-profiler.h |
index e538f4a84068e6836567453eddb1b00b7d0ccbd4..936ea59ffb9d73c266ac861bb07d1f813cb5fe10 100644 |
--- a/include/v8-profiler.h |
+++ b/include/v8-profiler.h |
@@ -75,7 +75,7 @@ class V8_EXPORT CpuProfileNode { |
/** DEPRECATED. Please use GetHitCount instead. |
* Returns the count of samples where function was currently executing. |
*/ |
- double GetSelfSamplesCount() const; |
+ V8_DEPRECATED(double GetSelfSamplesCount() const); |
/** |
* Returns the count of samples where the function was currently executing. |