Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5638)

Unified Diff: chrome_frame/custom_sync_call_context.h

Issue 8555001: base::Bind: Convert chrome_frame/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Bad merge. Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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:

Powered by Google App Engine
This is Rietveld 408576698