| Index: chrome_frame/custom_sync_call_context.h
|
| diff --git a/chrome_frame/custom_sync_call_context.h b/chrome_frame/custom_sync_call_context.h
|
| index 9bdce8710a1b0667c5c40e5f987fdc2dcec44436..e2691b85ef50c9e24d18c0044361b6e4e1425c5c 100644
|
| --- a/chrome_frame/custom_sync_call_context.h
|
| +++ b/chrome_frame/custom_sync_call_context.h
|
| @@ -6,6 +6,8 @@
|
| #define CHROME_FRAME_CUSTOM_SYNC_CALL_CONTEXT_H_
|
|
|
| #include <vector>
|
| +
|
| +#include "base/bind.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "base/synchronization/waitable_event.h"
|
| #include "chrome_frame/sync_msg_reply_dispatcher.h"
|
| @@ -30,11 +32,9 @@ class CreateExternalTabContext
|
| AutomationLaunchResult launch_result =
|
| client_->CreateExternalTabComplete(chrome_window, tab_window,
|
| tab_handle, session_id);
|
| - client_->PostTask(FROM_HERE,
|
| - NewRunnableMethod(
|
| - client_.get(),
|
| - &ChromeFrameAutomationClient::InitializeComplete,
|
| - launch_result));
|
| + client_->PostTask(
|
| + FROM_HERE, base::Bind(&ChromeFrameAutomationClient::InitializeComplete,
|
| + client_.get(), launch_result));
|
| }
|
|
|
| private:
|
|
|