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

Unified Diff: webkit/browser/fileapi/local_file_util_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_util_unittest.cc
diff --git a/webkit/browser/fileapi/local_file_util_unittest.cc b/webkit/browser/fileapi/local_file_util_unittest.cc
index cac0d4cbe4503d2bda59599d6db7c9f468be993a..9abcffcaf44505f1ad707f3cc031e75c43459702 100644
--- a/webkit/browser/fileapi/local_file_util_unittest.cc
+++ b/webkit/browser/fileapi/local_file_util_unittest.cc
@@ -49,7 +49,7 @@ class LocalFileUtilTest : public testing::Test {
protected:
FileSystemOperationContext* NewContext() {
FileSystemOperationContext* context =
- new FileSystemOperationContext(file_system_context_);
+ new FileSystemOperationContext(file_system_context_.get());
context->set_update_observers(
*file_system_context_->GetUpdateObservers(kFileSystemType));
context->set_root_path(data_dir_.path());
@@ -110,7 +110,7 @@ class LocalFileUtilTest : public testing::Test {
}
FileSystemContext* file_system_context() {
- return file_system_context_;
+ return file_system_context_.get();
}
private:
« no previous file with comments | « webkit/browser/fileapi/local_file_system_operation_write_unittest.cc ('k') | webkit/browser/fileapi/obfuscated_file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698