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

Unified Diff: webkit/browser/fileapi/local_file_system_operation_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/local_file_system_operation_unittest.cc
diff --git a/webkit/browser/fileapi/local_file_system_operation_unittest.cc b/webkit/browser/fileapi/local_file_system_operation_unittest.cc
index 19a2467a8c7d60a1de41757f57c60c9ef4a18025..4a5d5859458e4403eaf02731b78f859f64a2334f 100644
--- a/webkit/browser/fileapi/local_file_system_operation_unittest.cc
+++ b/webkit/browser/fileapi/local_file_system_operation_unittest.cc
@@ -90,7 +90,7 @@ class LocalFileSystemOperationTest
}
const ShareableFileReference* shareable_file_ref() const {
- return shareable_file_ref_;
+ return shareable_file_ref_.get();
}
quota::MockQuotaManager* quota_manager() {
@@ -225,11 +225,11 @@ class LocalFileSystemOperationTest
void GetUsageAndQuota(int64* usage, int64* quota) {
quota::QuotaStatusCode status =
- AsyncFileTestHelper::GetUsageAndQuota(
- quota_manager_,
- sandbox_file_system_.origin(),
- sandbox_file_system_.type(),
- usage, quota);
+ AsyncFileTestHelper::GetUsageAndQuota(quota_manager_.get(),
+ sandbox_file_system_.origin(),
+ sandbox_file_system_.type(),
+ usage,
+ quota);
base::MessageLoop::current()->RunUntilIdle();
ASSERT_EQ(quota::kQuotaStatusOk, status);
}

Powered by Google App Engine
This is Rietveld 408576698