| Index: chrome/browser/chrome_content_browser_client.cc
|
| diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
|
| index c59cbee497e2dd896f3c0897303c431cbd1347bb..b58344ad342c2ebdfbb8634e30497560a509eab8 100644
|
| --- a/chrome/browser/chrome_content_browser_client.cc
|
| +++ b/chrome/browser/chrome_content_browser_client.cc
|
| @@ -838,9 +838,7 @@ void ChromeContentBrowserClient::GuestWebContentsCreated(
|
| /// TODO(fsamuel): In the future, certain types of GuestViews won't require
|
| // extension bindings. At that point, we should clear |extension_id| instead
|
| // of exiting early.
|
| - if (!service->GetExtensionById(extension_id, false) &&
|
| - !CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kEnableBrowserPluginForAllViewTypes)) {
|
| + if (!service->GetExtensionById(extension_id, false)) {
|
| NOTREACHED();
|
| return;
|
| }
|
|
|