summaryrefslogtreecommitdiffstats
path: root/chrome/tools
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-19 00:06:08 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-19 00:06:08 +0000
commitd8996a01181eb26ccab90095d4bc6287052e1068 (patch)
treef1515920d75c4ca9a6f28df161099f8dbbef2ed1 /chrome/tools
parent493b1712ea5821abd3930be03df2b2b9601deb3d (diff)
downloadchromium_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')
-rw-r--r--chrome/tools/profiles/generate_profile.cc4
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);