Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(611)

Unified Diff: base/profiler/scoped_profile.cc

Issue 723343002: Update from https://crrev.com/304121 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/profiler/scoped_profile.h ('k') | base/profiler/scoped_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/profiler/scoped_profile.cc
diff --git a/base/profiler/scoped_profile.cc b/base/profiler/scoped_profile.cc
index 8b0ae59a44aa5ef7ce86e0aa28c6288ef9ca0465..4f8bc2d1e0e3e35b5e9d260a145e240807460f95 100644
--- a/base/profiler/scoped_profile.cc
+++ b/base/profiler/scoped_profile.cc
@@ -11,15 +11,6 @@
namespace tracked_objects {
-ScopedProfile::ScopedProfile(const Location& location)
- : birth_(ThreadData::TallyABirthIfActive(location)) {
- if (!birth_)
- return;
-
- ThreadData::PrepareForStartOfRun(birth_);
- stopwatch_.Start();
-}
-
ScopedProfile::ScopedProfile(const Location& location, Mode mode)
: birth_(NULL) {
if (mode == DISABLED)
« no previous file with comments | « base/profiler/scoped_profile.h ('k') | base/profiler/scoped_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698