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

Unified Diff: storage/browser/fileapi/file_system_operation_impl.cc

Issue 2597773002: Make SupportsUserData sequence-affine instead of thread-affine. (Closed)
Patch Set: leave thread_checker.h include for now Created 4 years 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
Index: storage/browser/fileapi/file_system_operation_impl.cc
diff --git a/storage/browser/fileapi/file_system_operation_impl.cc b/storage/browser/fileapi/file_system_operation_impl.cc
index 196f693da048a862552de03801e726e7fcbf49dc..9defb3ca2ec28bb9ce4ab16f8a7f6b750d254aa9 100644
--- a/storage/browser/fileapi/file_system_operation_impl.cc
+++ b/storage/browser/fileapi/file_system_operation_impl.cc
@@ -384,7 +384,7 @@ FileSystemOperationImpl::FileSystemOperationImpl(
pending_operation_(kOperationNone),
weak_factory_(this) {
DCHECK(operation_context_.get());
- operation_context_->DetachUserDataThread();
+ operation_context_->DetachFromSequence();
async_file_util_ = file_system_context_->GetAsyncFileUtil(url.type());
DCHECK(async_file_util_);
}
« base/supports_user_data.h ('K') | « storage/browser/fileapi/file_system_operation_context.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698