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

Unified Diff: content/renderer/top_level_blame_context.cc

Issue 1916843003: Ensure Origin Thread Affinity for BlameContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix windows bot compile error Created 4 years, 8 months 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 | « content/renderer/top_level_blame_context.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/top_level_blame_context.cc
diff --git a/content/renderer/top_level_blame_context.cc b/content/renderer/top_level_blame_context.cc
index 6b8311a5852da36ebc18993df47c89aab5d3fc2b..c1e3e72c2fa2c8c28d9ed52ab5475a9f45acec21 100644
--- a/content/renderer/top_level_blame_context.cc
+++ b/content/renderer/top_level_blame_context.cc
@@ -22,4 +22,8 @@ TopLevelBlameContext::TopLevelBlameContext()
base::PlatformThread::CurrentId(),
nullptr) {}
+TopLevelBlameContext::~TopLevelBlameContext() {
+ UnregisterFromTraceLog();
+}
+
} // namespace content
« no previous file with comments | « content/renderer/top_level_blame_context.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698