| Index: content/test/appcache_test_helper.cc
|
| diff --git a/content/test/appcache_test_helper.cc b/content/test/appcache_test_helper.cc
|
| index 252d801389848c38a43f7dbf622b55f080182d77..32421b669b72f6e306773839a4d8583565f238fd 100644
|
| --- a/content/test/appcache_test_helper.cc
|
| +++ b/content/test/appcache_test_helper.cc
|
| @@ -7,6 +7,7 @@
|
| #include "base/bind.h"
|
| #include "base/bind_helpers.h"
|
| #include "base/message_loop/message_loop.h"
|
| +#include "base/run_loop.h"
|
| #include "content/browser/appcache/appcache.h"
|
| #include "content/browser/appcache/appcache_entry.h"
|
| #include "content/browser/appcache/appcache_group.h"
|
| @@ -49,7 +50,7 @@ void AppCacheTestHelper::AddGroupAndCache(AppCacheServiceImpl*
|
| appcache,
|
| this);
|
| // OnGroupAndNewestCacheStored will quit the message loop.
|
| - base::MessageLoop::current()->Run();
|
| + base::RunLoop().Run();
|
| }
|
|
|
| void AppCacheTestHelper::GetOriginsWithCaches(AppCacheServiceImpl*
|
| @@ -62,7 +63,7 @@ void AppCacheTestHelper::GetOriginsWithCaches(AppCacheServiceImpl*
|
| base::Unretained(this)));
|
|
|
| // OnGotAppCacheInfo will quit the message loop.
|
| - base::MessageLoop::current()->Run();
|
| + base::RunLoop().Run();
|
| }
|
|
|
| void AppCacheTestHelper::OnGotAppCacheInfo(int rv) {
|
|
|