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

Unified Diff: webkit/fileapi/file_system_quota_client_unittest.cc

Issue 11275088: Remove implicit scoped_refptr operator T* Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 8 years, 2 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/file_system_quota_client_unittest.cc
diff --git a/webkit/fileapi/file_system_quota_client_unittest.cc b/webkit/fileapi/file_system_quota_client_unittest.cc
index 1dd308fac8674f9623337ce74b76fd79d5c6df9b..8062d73ec6578645f78882b104bbadd77fa0fddf 100644
--- a/webkit/fileapi/file_system_quota_client_unittest.cc
+++ b/webkit/fileapi/file_system_quota_client_unittest.cc
@@ -65,7 +65,7 @@ class FileSystemQuotaClientTest : public testing::Test {
protected:
FileSystemQuotaClient* NewQuotaClient(bool is_incognito) {
return new FileSystemQuotaClient(
- file_system_context_, is_incognito);
+ file_system_context_.get(), is_incognito);
}
void GetOriginUsageAsync(FileSystemQuotaClient* quota_client,
@@ -120,7 +120,7 @@ class FileSystemQuotaClientTest : public testing::Test {
FileSystemOperationContext* CreateFileSystemOperationContext(
FileSystemType type) {
FileSystemOperationContext* context =
- new FileSystemOperationContext(file_system_context_);
+ new FileSystemOperationContext(file_system_context_.get());
context->set_allowed_bytes_growth(100000000);
context->set_update_observers(
*file_system_context_->GetUpdateObservers(type));
« no previous file with comments | « webkit/fileapi/file_system_file_stream_reader_unittest.cc ('k') | webkit/fileapi/local_file_system_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698