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

Unified Diff: webkit/fileapi/quota_file_util.cc

Issue 7671039: Count-up/down the dirty count in the usage cache at FileSystemOperation, not at QuotaFU. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 4 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
Index: webkit/fileapi/quota_file_util.cc
diff --git a/webkit/fileapi/quota_file_util.cc b/webkit/fileapi/quota_file_util.cc
index 56fbcb7a033a36033272be0f926f39e295b4af04..916de9b9897e64f41a86255401a1cca28e8407ce 100644
--- a/webkit/fileapi/quota_file_util.cc
+++ b/webkit/fileapi/quota_file_util.cc
@@ -41,13 +41,9 @@ class ScopedOriginUpdateHelper {
operation_context_->file_system_context()->GetQuotaUtil(type_);
quota_manager_proxy_ =
operation_context_->file_system_context()->quota_manager_proxy();
- if (quota_util_)
- quota_util_->StartUpdateOriginOnFileThread(origin_url_, type_);
}
~ScopedOriginUpdateHelper() {
- if (quota_util_)
- quota_util_->EndUpdateOriginOnFileThread(origin_url_, type_);
}
void NotifyUpdate(int64 growth) {
« webkit/fileapi/file_system_operation.cc ('K') | « webkit/fileapi/file_system_operation.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698