| Index: content/browser/plugin_loader_posix.cc
|
| diff --git a/content/browser/plugin_loader_posix.cc b/content/browser/plugin_loader_posix.cc
|
| index 3523d326978e8432d56bad8a94663d54e90a46aa..b8750ed90ea3cf037c36132856c1dc1c8cd9f537 100644
|
| --- a/content/browser/plugin_loader_posix.cc
|
| +++ b/content/browser/plugin_loader_posix.cc
|
| @@ -24,7 +24,7 @@ PluginLoaderPosix::PluginLoaderPosix()
|
|
|
| void PluginLoaderPosix::GetPlugins(
|
| const PluginService::GetPluginsCallback& callback) {
|
| - DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
|
| + DCHECK_CURRENTLY_ON(BrowserThread::IO);
|
|
|
| std::vector<WebPluginInfo> cached_plugins;
|
| if (PluginList::Singleton()->GetPluginsNoRefresh(&cached_plugins)) {
|
| @@ -98,7 +98,7 @@ PluginLoaderPosix::~PluginLoaderPosix() {
|
| }
|
|
|
| void PluginLoaderPosix::GetPluginsToLoad() {
|
| - DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
|
| + DCHECK_CURRENTLY_ON(BrowserThread::FILE);
|
|
|
| base::TimeTicks start_time(base::TimeTicks::Now());
|
|
|
| @@ -123,7 +123,7 @@ void PluginLoaderPosix::GetPluginsToLoad() {
|
| }
|
|
|
| void PluginLoaderPosix::LoadPluginsInternal() {
|
| - DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
|
| + DCHECK_CURRENTLY_ON(BrowserThread::IO);
|
|
|
| // Check if the list is empty or all plugins have already been loaded before
|
| // forking.
|
|
|