| Index: chrome/browser/extensions/execute_code_in_tab_function.cc
|
| diff --git a/chrome/browser/extensions/execute_code_in_tab_function.cc b/chrome/browser/extensions/execute_code_in_tab_function.cc
|
| index b5eb0d57a23db074db9c9467e084ad070d6bb67e..801d54a14851d90843cbbc4de7278785bb38a644 100644
|
| --- a/chrome/browser/extensions/execute_code_in_tab_function.cc
|
| +++ b/chrome/browser/extensions/execute_code_in_tab_function.cc
|
| @@ -60,7 +60,7 @@ bool ExecuteCodeInTabFunction::RunImpl() {
|
| // in the current window.
|
| Value* tab_value = NULL;
|
| EXTENSION_FUNCTION_VALIDATE(args_->Get(0, &tab_value));
|
| - if (tab_value->IsType(Value::TYPE_NULL)) {
|
| + if (tab_value->IsNull()) {
|
| browser = GetCurrentBrowser();
|
| if (!browser) {
|
| error_ = keys::kNoCurrentWindowError;
|
|
|