Index: base/profiler/scoped_tracker.cc |
diff --git a/base/profiler/scoped_tracker.cc b/base/profiler/scoped_tracker.cc |
index 1d4f0bfcafd33bf9e3af19644655bded3ad2fef4..26b17c015539b043d6b5c981b7a3c802587c7723 100644 |
--- a/base/profiler/scoped_tracker.cc |
+++ b/base/profiler/scoped_tracker.cc |
@@ -15,7 +15,7 @@ ScopedProfile::Mode g_scoped_profile_mode = ScopedProfile::DISABLED; |
// Executes |callback|, augmenting it with provided |location|. |
void ExecuteAndTrackCallback(const Location& location, |
const base::Closure& callback) { |
- ScopedProfile tracking_profile(location); |
+ ScopedProfile tracking_profile(location, ScopedProfile::ENABLED); |
callback.Run(); |
} |