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

Unified Diff: webkit/fileapi/file_system_operation_context.cc

Issue 15453002: Add thread checker to FileSystemOperationContext to allow setters called only on initialization thr… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 | « webkit/fileapi/file_system_operation_context.h ('k') | webkit/fileapi/local_file_system_operation.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/file_system_operation_context.cc
diff --git a/webkit/fileapi/file_system_operation_context.cc b/webkit/fileapi/file_system_operation_context.cc
index ae20606fb55a3e6b77d042a8831e5fc7485a8598..15daac777a6e7535f8d378c9f3564419d4226022 100644
--- a/webkit/fileapi/file_system_operation_context.cc
+++ b/webkit/fileapi/file_system_operation_context.cc
@@ -25,6 +25,9 @@ FileSystemOperationContext::FileSystemOperationContext(
allowed_bytes_growth_(0),
quota_limit_type_(quota::kQuotaLimitTypeUnknown) {}
-FileSystemOperationContext::~FileSystemOperationContext() {}
+FileSystemOperationContext::~FileSystemOperationContext() {
+ DetachUserDataThread();
+ setter_thread_checker_.DetachFromThread();
+}
} // namespace fileapi
« no previous file with comments | « webkit/fileapi/file_system_operation_context.h ('k') | webkit/fileapi/local_file_system_operation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698