diff options
author | kinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-30 00:06:47 +0000 |
---|---|---|
committer | kinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-30 00:06:47 +0000 |
commit | 57acf8a72aaeec9d3ffac539c5d7877371e5c00a (patch) | |
tree | 20aad9cfe3607463f0cc3a54cce781efb10862c3 /webkit/browser/fileapi/local_file_util_unittest.cc | |
parent | 0e115105b3734d6e41b64f168ad06de14457b90b (diff) | |
download | chromium_src-57acf8a72aaeec9d3ffac539c5d7877371e5c00a.zip chromium_src-57acf8a72aaeec9d3ffac539c5d7877371e5c00a.tar.gz chromium_src-57acf8a72aaeec9d3ffac539c5d7877371e5c00a.tar.bz2 |
Deprecate FileSystemBackend::GetFileUtil()
BUG=272715
TEST=existing tests
Review URL: https://chromiumcodereview.appspot.com/23601005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220444 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/browser/fileapi/local_file_util_unittest.cc')
-rw-r--r-- | webkit/browser/fileapi/local_file_util_unittest.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/webkit/browser/fileapi/local_file_util_unittest.cc b/webkit/browser/fileapi/local_file_util_unittest.cc index b0b52e7..5792f18 100644 --- a/webkit/browser/fileapi/local_file_util_unittest.cc +++ b/webkit/browser/fileapi/local_file_util_unittest.cc @@ -14,6 +14,7 @@ #include "base/strings/utf_string_conversions.h" #include "testing/gtest/include/gtest/gtest.h" #include "webkit/browser/fileapi/async_file_test_helper.h" +#include "webkit/browser/fileapi/async_file_util_adapter.h" #include "webkit/browser/fileapi/file_system_context.h" #include "webkit/browser/fileapi/file_system_file_util.h" #include "webkit/browser/fileapi/file_system_operation_context.h" @@ -57,8 +58,9 @@ class LocalFileUtilTest : public testing::Test { } LocalFileUtil* file_util() { - return static_cast<LocalFileUtil*>( - file_system_context_->GetFileUtil(kFileSystemType)); + AsyncFileUtilAdapter* adapter = static_cast<AsyncFileUtilAdapter*>( + file_system_context_->GetAsyncFileUtil(kFileSystemType)); + return static_cast<LocalFileUtil*>(adapter->sync_file_util()); } FileSystemURL CreateURL(const std::string& file_name) { |