From b8f50cec7ae39a4776b0b424fe5489f84192010a Mon Sep 17 00:00:00 2001 From: "tfarina@chromium.org" Date: Sat, 17 Nov 2012 12:37:57 +0000 Subject: chrome/browser: Update calls from RunAllPending() to RunUntilIdle(). RunAllPending() is deprecated and we should switch to RunUntilIdle(). BUG=131220 TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/11413050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168416 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/net/ssl_config_service_manager_pref_unittest.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'chrome/browser/net/ssl_config_service_manager_pref_unittest.cc') diff --git a/chrome/browser/net/ssl_config_service_manager_pref_unittest.cc b/chrome/browser/net/ssl_config_service_manager_pref_unittest.cc index b4d7080..ef9b0be 100644 --- a/chrome/browser/net/ssl_config_service_manager_pref_unittest.cc +++ b/chrome/browser/net/ssl_config_service_manager_pref_unittest.cc @@ -47,7 +47,7 @@ class SSLConfigServiceManagerPrefTest : public testing::Test { bool IsChannelIdEnabled(SSLConfigService* config_service) { // Pump the message loop to notify the SSLConfigServiceManagerPref that the // preferences changed. - message_loop_.RunAllPending(); + message_loop_.RunUntilIdle(); SSLConfig config; config_service->GetSSLConfig(&config); return config.channel_id_enabled; @@ -79,7 +79,7 @@ TEST_F(SSLConfigServiceManagerPrefTest, ChannelIDWithoutUserPrefs) { Value::CreateBooleanValue(true)); // Pump the message loop to notify the SSLConfigServiceManagerPref that the // preferences changed. - message_loop_.RunAllPending(); + message_loop_.RunUntilIdle(); config_service->GetSSLConfig(&config); EXPECT_TRUE(config.channel_id_enabled); } @@ -170,7 +170,7 @@ TEST_F(SSLConfigServiceManagerPrefTest, GoodDisabledCipherSuites) { // Pump the message loop to notify the SSLConfigServiceManagerPref that the // preferences changed. - message_loop_.RunAllPending(); + message_loop_.RunUntilIdle(); SSLConfig config; config_service->GetSSLConfig(&config); @@ -207,7 +207,7 @@ TEST_F(SSLConfigServiceManagerPrefTest, BadDisabledCipherSuites) { // Pump the message loop to notify the SSLConfigServiceManagerPref that the // preferences changed. - message_loop_.RunAllPending(); + message_loop_.RunUntilIdle(); SSLConfig config; config_service->GetSSLConfig(&config); -- cgit v1.1