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

Unified Diff: content/browser/plugin_service_browsertest.cc

Issue 8483003: Callback API Change: Reimplement Bind(); support IgnoreResult, full currying, and use less types (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address initial comments. 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: content/browser/plugin_service_browsertest.cc
diff --git a/content/browser/plugin_service_browsertest.cc b/content/browser/plugin_service_browsertest.cc
index 116a6e169c3157474ff7e07f53b3fc7a2847ad98..917d62bb71fd6d2eb3faa6bc9ae25962606df3d9 100644
--- a/content/browser/plugin_service_browsertest.cc
+++ b/content/browser/plugin_service_browsertest.cc
@@ -248,7 +248,7 @@ IN_PROC_BROWSER_TEST_F(
mock_client(browser()->profile()->GetResourceContext());
BrowserThread::PostTask(
BrowserThread::IO, FROM_HERE,
- base::Bind(OpenChannel, &mock_client));
+ base::Bind(&OpenChannel, &mock_client));
ui_test_utils::RunMessageLoop();
EXPECT_TRUE(mock_client.get_resource_context_called());
EXPECT_TRUE(mock_client.set_plugin_info_called());
@@ -300,7 +300,7 @@ IN_PROC_BROWSER_TEST_F(
mock_client(browser()->profile()->GetResourceContext());
BrowserThread::PostTask(
BrowserThread::IO, FROM_HERE,
- base::Bind(OpenChannel, &mock_client));
+ base::Bind(&OpenChannel, &mock_client));
ui_test_utils::RunMessageLoop();
EXPECT_TRUE(mock_client.get_resource_context_called());
EXPECT_TRUE(mock_client.set_plugin_info_called());

Powered by Google App Engine
This is Rietveld 408576698