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

Unified Diff: webkit/browser/fileapi/file_system_quota_client_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_quota_client_unittest.cc
diff --git a/webkit/browser/fileapi/file_system_quota_client_unittest.cc b/webkit/browser/fileapi/file_system_quota_client_unittest.cc
index ade671aceb95d05e746f8bf8ae6ad6b02da66c43..5e69a1a911a70487ef950027cd6efd091d103410 100644
--- a/webkit/browser/fileapi/file_system_quota_client_unittest.cc
+++ b/webkit/browser/fileapi/file_system_quota_client_unittest.cc
@@ -59,8 +59,7 @@ class FileSystemQuotaClientTest : public testing::Test {
protected:
FileSystemQuotaClient* NewQuotaClient(bool is_incognito) {
- return new FileSystemQuotaClient(
- file_system_context_, is_incognito);
+ return new FileSystemQuotaClient(file_system_context_.get(), is_incognito);
}
void GetOriginUsageAsync(FileSystemQuotaClient* quota_client,
@@ -115,7 +114,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));

Powered by Google App Engine
This is Rietveld 408576698