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

Unified Diff: content/browser/resource_context_impl.cc

Issue 2064293002: Remove unused test code in ~ResourceContext to handle it being destructed on UI threads. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/resource_context_impl.cc
diff --git a/content/browser/resource_context_impl.cc b/content/browser/resource_context_impl.cc
index e7aa29b9570d5706018be8032db33507b15392f9..13911113dac34955417f3664648395bd8a979037 100644
--- a/content/browser/resource_context_impl.cc
+++ b/content/browser/resource_context_impl.cc
@@ -54,9 +54,6 @@ ResourceContext::~ResourceContext() {
rdhi->CancelRequestsForContext(this);
rdhi->RemoveResourceContext(this);
}
-
- // In some tests this object is destructed on UI thread.
- DetachUserDataThread();
}
ResourceContext::SaltCallback ResourceContext::GetMediaDeviceIDSalt() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698