diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-19 00:06:08 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-19 00:06:08 +0000 |
commit | d8996a01181eb26ccab90095d4bc6287052e1068 (patch) | |
tree | f1515920d75c4ca9a6f28df161099f8dbbef2ed1 /chrome/tools/profiles | |
parent | 493b1712ea5821abd3930be03df2b2b9601deb3d (diff) | |
download | chromium_src-d8996a01181eb26ccab90095d4bc6287052e1068.zip chromium_src-d8996a01181eb26ccab90095d4bc6287052e1068.tar.gz chromium_src-d8996a01181eb26ccab90095d4bc6287052e1068.tar.bz2 |
chrome: Update the remaining calls from RunAllPending() to RunUntilIdle().
RunAllPending() is deprecated and we should switch to RunUntilIdle().
BUG=131220
TBR=ben@chromium.org
Review URL: https://codereview.chromium.org/11299062
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168481 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/tools/profiles')
-rw-r--r-- | chrome/tools/profiles/generate_profile.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/tools/profiles/generate_profile.cc b/chrome/tools/profiles/generate_profile.cc index 08f0170..ca4ee3e 100644 --- a/chrome/tools/profiles/generate_profile.cc +++ b/chrome/tools/profiles/generate_profile.cc @@ -257,7 +257,7 @@ int main(int argc, const char* argv[]) { const int batch_size = std::min(kBatchSize, url_count - page_id); InsertURLBatch(&profile, page_id, batch_size, types); // Run all pending messages to give TopSites a chance to catch up. - message_loop.RunAllPending(); + message_loop.RunUntilIdle(); page_id += batch_size; } @@ -266,7 +266,7 @@ int main(int argc, const char* argv[]) { profile.DestroyTopSites(); profile.DestroyHistoryService(); - message_loop.RunAllPending(); + message_loop.RunUntilIdle(); file_util::FileEnumerator file_iterator(profile.GetPath(), false, file_util::FileEnumerator::FILES); |