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

Unified Diff: webkit/browser/fileapi/sandbox_file_system_test_helper.cc

Issue 16155009: Update webkit/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (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
Index: webkit/browser/fileapi/sandbox_file_system_test_helper.cc
diff --git a/webkit/browser/fileapi/sandbox_file_system_test_helper.cc b/webkit/browser/fileapi/sandbox_file_system_test_helper.cc
index 5abcd45ce1b3d0b759541151d2ae3e9c1f0e1302..d55b013ad8fa28980f72c1d8389582e7e74b69f7 100644
--- a/webkit/browser/fileapi/sandbox_file_system_test_helper.cc
+++ b/webkit/browser/fileapi/sandbox_file_system_test_helper.cc
@@ -91,8 +91,8 @@ FileSystemURL SandboxFileSystemTestHelper::CreateURL(
}
int64 SandboxFileSystemTestHelper::GetCachedOriginUsage() const {
- return file_system_context_->GetQuotaUtil(type_)->GetOriginUsageOnFileThread(
- file_system_context_, origin_, type_);
+ return file_system_context_->GetQuotaUtil(type_)
+ ->GetOriginUsageOnFileThread(file_system_context_.get(), origin_, type_);
}
int64 SandboxFileSystemTestHelper::ComputeCurrentOriginUsage() {
@@ -133,7 +133,7 @@ FileSystemUsageCache* SandboxFileSystemTestHelper::usage_cache() {
}
void SandboxFileSystemTestHelper::SetUpFileSystem() {
- DCHECK(file_system_context_);
+ DCHECK(file_system_context_.get());
DCHECK(file_system_context_->sandbox_provider()->CanHandleType(type_));
file_util_ = file_system_context_->GetFileUtil(type_);
« no previous file with comments | « webkit/browser/fileapi/obfuscated_file_util_unittest.cc ('k') | webkit/browser/fileapi/sandbox_mount_point_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698