| Index: content/browser/plugin_service_impl_browsertest.cc
|
| diff --git a/content/browser/plugin_service_impl_browsertest.cc b/content/browser/plugin_service_impl_browsertest.cc
|
| index 710840e39b0fe9ecaeca30ed7d8b4b7a0f0effb7..b81b78cf08cfc4fb0b1cf9fd2144d0c971b38c32 100644
|
| --- a/content/browser/plugin_service_impl_browsertest.cc
|
| +++ b/content/browser/plugin_service_impl_browsertest.cc
|
| @@ -24,7 +24,7 @@ namespace content {
|
| const char kNPAPITestPluginMimeType[] = "application/vnd.npapi-test";
|
|
|
| void OpenChannel(PluginProcessHost::Client* client) {
|
| - DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
|
| + DCHECK_CURRENTLY_ON(BrowserThread::IO);
|
| // Start opening the channel
|
| PluginServiceImpl::GetInstance()->OpenChannelToNpapiPlugin(
|
| 0, 0, GURL(), GURL(), kNPAPITestPluginMimeType, client);
|
| @@ -250,13 +250,13 @@ class MockCanceledBeforeSentPluginProcessHostClient
|
|
|
| // Client implementation.
|
| void SetPluginInfo(const WebPluginInfo& info) override {
|
| - DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
|
| + DCHECK_CURRENTLY_ON(BrowserThread::IO);
|
| ASSERT_TRUE(info.mime_types.size());
|
| ASSERT_EQ(kNPAPITestPluginMimeType, info.mime_types[0].mime_type);
|
| set_plugin_info_called_ = true;
|
| }
|
| void OnFoundPluginProcessHost(PluginProcessHost* host) override {
|
| - DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
|
| + DCHECK_CURRENTLY_ON(BrowserThread::IO);
|
| set_on_found_plugin_process_host_called();
|
| set_host(host);
|
| // This gets called right before we request the plugin<=>renderer channel,
|
| @@ -327,7 +327,7 @@ class MockCanceledAfterSentPluginProcessHostClient
|
|
|
| // We override this guy again since we don't want to cancel yet.
|
| void OnFoundPluginProcessHost(PluginProcessHost* host) override {
|
| - DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
|
| + DCHECK_CURRENTLY_ON(BrowserThread::IO);
|
| set_on_found_plugin_process_host_called();
|
| set_host(host);
|
| }
|
|
|