| Index: chrome/browser/extensions/api/tabs/tabs.cc
|
| diff --git a/chrome/browser/extensions/api/tabs/tabs.cc b/chrome/browser/extensions/api/tabs/tabs.cc
|
| index 99d87491b30d6b2c735e7b617a2d8c0e09bc6b2e..6a7f83c51cc847003c1f02c6a90ad05620b3faf6 100644
|
| --- a/chrome/browser/extensions/api/tabs/tabs.cc
|
| +++ b/chrome/browser/extensions/api/tabs/tabs.cc
|
| @@ -1307,7 +1307,11 @@ bool UpdateTabFunction::UpdateURLIfPresent(DictionaryValue* update_props,
|
| // we need to check host permissions before allowing them.
|
| if (url.SchemeIs(chrome::kJavaScriptScheme)) {
|
| if (!GetExtension()->CanExecuteScriptOnPage(
|
| - tab_contents_->web_contents()->GetURL(), tab_id, NULL, &error_)) {
|
| + tab_contents_->web_contents()->GetURL(),
|
| + tab_contents_->web_contents()->GetURL(),
|
| + tab_id,
|
| + NULL,
|
| + &error_)) {
|
| return false;
|
| }
|
|
|
|
|