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

Unified Diff: webkit/browser/fileapi/file_system_url_request_job_unittest.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/file_system_url_request_job_unittest.cc
diff --git a/webkit/browser/fileapi/file_system_url_request_job_unittest.cc b/webkit/browser/fileapi/file_system_url_request_job_unittest.cc
index ce59f3cd4fc357483d6727a878e06d7ace251221..0b1db551f6f78bd1735122b78a4f50dbf55dc7f6 100644
--- a/webkit/browser/fileapi/file_system_url_request_job_unittest.cc
+++ b/webkit/browser/fileapi/file_system_url_request_job_unittest.cc
@@ -76,7 +76,7 @@ class FileSystemURLRequestJobTest : public testing::Test {
virtual void TearDown() OVERRIDE {
net::URLRequest::Deprecated::RegisterProtocolFactory("filesystem", NULL);
ClearUnusedJob();
- if (pending_job_) {
+ if (pending_job_.get()) {
pending_job_->Kill();
pending_job_ = NULL;
}
@@ -130,7 +130,7 @@ class FileSystemURLRequestJobTest : public testing::Test {
kFileSystemTypeTemporary,
base::FilePath().AppendASCII(dir_name));
- FileSystemOperationContext context(file_system_context_);
+ FileSystemOperationContext context(file_system_context_.get());
context.set_allowed_bytes_growth(1024);
ASSERT_EQ(base::PLATFORM_FILE_OK, file_util->CreateDirectory(
@@ -149,7 +149,7 @@ class FileSystemURLRequestJobTest : public testing::Test {
kFileSystemTypeTemporary,
base::FilePath().AppendASCII(file_name));
- FileSystemOperationContext context(file_system_context_);
+ FileSystemOperationContext context(file_system_context_.get());
context.set_allowed_bytes_growth(1024);
base::PlatformFile handle = base::kInvalidPlatformFileValue;
« no previous file with comments | « webkit/browser/fileapi/file_system_quota_client_unittest.cc ('k') | webkit/browser/fileapi/file_system_usage_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698