Chromium Code Reviews| Index: chrome/common/extensions/extension.cc |
| diff --git a/chrome/common/extensions/extension.cc b/chrome/common/extensions/extension.cc |
| index 549566daf80e743e92acbd07db1fcdb1bc31a9c5..b4d4733c14bdda459bee90c58a058149ad444d76 100644 |
| --- a/chrome/common/extensions/extension.cc |
| +++ b/chrome/common/extensions/extension.cc |
| @@ -1828,11 +1828,6 @@ bool Extension::LoadBackgroundAllowJSAccess( |
| return false; |
| } |
| - if (!has_background_page()) { |
| - *error = ASCIIToUTF16(errors::kInvalidBackgroundAllowJsAccessNoPage); |
| - return false; |
| - } |
| - |
| return true; |
| } |