| 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 024a98615eff9fb329985c499d54a3d64a0502c2..88007faa9433eecee2e825690841e8b7c7b7f4bc 100644
|
| --- a/chrome/browser/chrome_content_browser_client.cc
|
| +++ b/chrome/browser/chrome_content_browser_client.cc
|
| @@ -840,9 +840,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;
|
| }
|
|
|