| Index: chrome_frame/chrome_frame_automation.cc
|
| ===================================================================
|
| --- chrome_frame/chrome_frame_automation.cc (revision 71820)
|
| +++ chrome_frame/chrome_frame_automation.cc (working copy)
|
| @@ -398,11 +398,12 @@
|
| if (snapshots_)
|
| SendUMAData();
|
|
|
| + // Process pending notifications.
|
| + thread_->message_loop()->RunAllPending();
|
| +
|
| // Take down the proxy since we no longer have any clients.
|
| + // Make sure we only do this once all pending messages have been cleared.
|
| proxy_.reset(NULL);
|
| -
|
| - // Process pending notifications.
|
| - thread_->message_loop()->RunAllPending();
|
| }
|
| // Be careful to remove from the list after running pending
|
| // tasks. Otherwise the delegate being removed might miss out
|
|
|