Index: content/browser/plugin_service.cc |
diff --git a/content/browser/plugin_service.cc b/content/browser/plugin_service.cc |
index 7eee9a4e78d4d857408f578504412c5b5096908c..097faa704ffb68b1e63977f1ff1a8aeea1e990af 100644 |
--- a/content/browser/plugin_service.cc |
+++ b/content/browser/plugin_service.cc |
@@ -66,8 +66,7 @@ static void GetPluginsForGroupsCallback( |
// Callback set on the PluginList to assert that plugin loading happens on the |
// correct thread. |
void WillLoadPluginsCallback() { |
- // TODO(rsesek): Change these to CHECKs. |
-#if defined(OS_WIN) || (defined(OS_POSIX) && !defined(OS_MACOSX)) |
+#if defined(OS_WIN) |
CHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE)); |
#else |
CHECK(false) << "Plugin loading should happen out-of-process."; |
@@ -496,7 +495,7 @@ void PluginService::GetPlugins(const GetPluginsCallback& callback) { |
scoped_refptr<base::MessageLoopProxy> target_loop( |
MessageLoop::current()->message_loop_proxy()); |
-#if defined(OS_WIN) || (defined(OS_POSIX) && !defined(OS_MACOSX)) |
+#if defined(OS_WIN) |
BrowserThread::PostTask(BrowserThread::FILE, FROM_HERE, |
base::Bind(&PluginService::GetPluginsInternal, base::Unretained(this), |
target_loop, callback)); |