| Index: chrome/browser/extensions/extension_browsertest.cc
|
| diff --git a/chrome/browser/extensions/extension_browsertest.cc b/chrome/browser/extensions/extension_browsertest.cc
|
| index 5faf4b39fa7d54022144bc93ece6409a5b89ab2f..8c527659c74b1ee2936724e960fc8a74d7f7d913 100644
|
| --- a/chrome/browser/extensions/extension_browsertest.cc
|
| +++ b/chrome/browser/extensions/extension_browsertest.cc
|
| @@ -139,6 +139,10 @@ const Extension* ExtensionBrowserTest::LoadExtensionWithOptions(
|
| }
|
| }
|
|
|
| + // After chrome::NOTIFICATION_EXTENSION_LOADED there are still remaining tasks
|
| + // that need to complete for extensions to be in a settled load state.
|
| + ui_test_utils::RunAllPendingInMessageLoop();
|
| +
|
| if (!WaitForExtensionViewsToLoad())
|
| return NULL;
|
|
|
|
|