| 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 d0ed882ecb652a9a62a4789c3e880ff8bdc3f9d3..7052a0e9d2c9cb5b659230b1b22fcde8b984e5d8 100644
|
| --- a/chrome/browser/chrome_content_browser_client.cc
|
| +++ b/chrome/browser/chrome_content_browser_client.cc
|
| @@ -838,7 +838,8 @@ 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) &&
|
| + if (!extension_id.empty() &&
|
| + !service->GetExtensionById(extension_id, false) &&
|
| !CommandLine::ForCurrentProcess()->HasSwitch(
|
| switches::kEnableBrowserPluginForAllViewTypes)) {
|
| NOTREACHED();
|
|
|