| Index: content/renderer/browser_plugin/browser_plugin_browsertest.cc
|
| diff --git a/content/renderer/browser_plugin/browser_plugin_browsertest.cc b/content/renderer/browser_plugin/browser_plugin_browsertest.cc
|
| index f2779940274528f92013523d4a4d2c58a2001d6a..d8a36788ab0c941234ef97b3d7668b5ee55ab09b 100644
|
| --- a/content/renderer/browser_plugin/browser_plugin_browsertest.cc
|
| +++ b/content/renderer/browser_plugin/browser_plugin_browsertest.cc
|
| @@ -167,6 +167,10 @@ MockBrowserPlugin* BrowserPluginTest::GetCurrentPlugin() {
|
|
|
| MockBrowserPlugin* BrowserPluginTest::GetCurrentPluginWithAttachParams(
|
| BrowserPluginHostMsg_Attach_Params* params) {
|
| + // Make sure the BrowserPluginHostMsg_Attach IPC message is handled before
|
| + // proceeding any further.
|
| + ProcessPendingMessages();
|
| +
|
| int instance_id = 0;
|
| const IPC::Message* msg =
|
| browser_plugin_manager()->sink().GetUniqueMessageMatching(
|
|
|