Index: content/browser/renderer_host/pepper/content_browser_pepper_host_factory.cc |
diff --git a/content/browser/renderer_host/pepper/content_browser_pepper_host_factory.cc b/content/browser/renderer_host/pepper/content_browser_pepper_host_factory.cc |
index d5e7e98a92e6939e51d73c55e9167e953b2d2e73..34ba0d3822bdad4556309d248ff6bdb101da6eed 100644 |
--- a/content/browser/renderer_host/pepper/content_browser_pepper_host_factory.cc |
+++ b/content/browser/renderer_host/pepper/content_browser_pepper_host_factory.cc |
@@ -29,11 +29,8 @@ scoped_ptr<ResourceHost> ContentBrowserPepperHostFactory::CreateResourceHost( |
DCHECK(host == host_->GetPpapiHost()); |
// Make sure the plugin is giving us a valid instance for this resource. |
- /* TODO(brettw) make this work. The browser should be aware of all valid |
- instances. |
if (!host_->IsValidInstance(instance)) |
return scoped_ptr<ResourceHost>(); |
- */ |
// Public interfaces with no permissions required. |
switch (message.type()) { |