diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-10 14:56:17 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-10 14:56:17 +0000 |
commit | 91cae259b5ab51d378e36607150ab181452e1008 (patch) | |
tree | 1d0e47c83709fa2db576b1ccdeb47ab50ee772a7 /base/file_util_proxy_unittest.cc | |
parent | 3c1ed419955a381f04f3881c81b48e59594af3da (diff) | |
download | chromium_src-91cae259b5ab51d378e36607150ab181452e1008.zip chromium_src-91cae259b5ab51d378e36607150ab181452e1008.tar.gz chromium_src-91cae259b5ab51d378e36607150ab181452e1008.tar.bz2 |
base: Update the calls from MessageLoop::Quit() to QuitWhenIdle().
Quit() is deprecated and we should switch to QuitWhenIdle().
BUG=131220
R=darin@chromium.org
Review URL: https://chromiumcodereview.appspot.com/11794032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176082 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/file_util_proxy_unittest.cc')
-rw-r--r-- | base/file_util_proxy_unittest.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/base/file_util_proxy_unittest.cc b/base/file_util_proxy_unittest.cc index ed54037..db215f0 100644 --- a/base/file_util_proxy_unittest.cc +++ b/base/file_util_proxy_unittest.cc @@ -40,7 +40,7 @@ class FileUtilProxyTest : public testing::Test { void DidFinish(PlatformFileError error) { error_ = error; - MessageLoop::current()->Quit(); + MessageLoop::current()->QuitWhenIdle(); } void DidCreateOrOpen(PlatformFileError error, @@ -49,7 +49,7 @@ class FileUtilProxyTest : public testing::Test { error_ = error; file_ = file.ReleaseValue(); created_ = created; - MessageLoop::current()->Quit(); + MessageLoop::current()->QuitWhenIdle(); } void DidCreateTemporary(PlatformFileError error, @@ -58,14 +58,14 @@ class FileUtilProxyTest : public testing::Test { error_ = error; file_ = file.ReleaseValue(); path_ = path; - MessageLoop::current()->Quit(); + MessageLoop::current()->QuitWhenIdle(); } void DidGetFileInfo(PlatformFileError error, const PlatformFileInfo& file_info) { error_ = error; file_info_ = file_info; - MessageLoop::current()->Quit(); + MessageLoop::current()->QuitWhenIdle(); } void DidRead(PlatformFileError error, @@ -74,14 +74,14 @@ class FileUtilProxyTest : public testing::Test { error_ = error; buffer_.resize(bytes_read); memcpy(&buffer_[0], data, bytes_read); - MessageLoop::current()->Quit(); + MessageLoop::current()->QuitWhenIdle(); } void DidWrite(PlatformFileError error, int bytes_written) { error_ = error; bytes_written_ = bytes_written; - MessageLoop::current()->Quit(); + MessageLoop::current()->QuitWhenIdle(); } protected: |