| Index: chrome/browser/extensions/extension_browser_actions_api.cc
|
| diff --git a/chrome/browser/extensions/extension_browser_actions_api.cc b/chrome/browser/extensions/extension_browser_actions_api.cc
|
| index 75ec0896bee0af13c6127cc57e9289a3015b56e6..0a940266ebaecbd7e0b3c94ed341fa5f1d65a005 100644
|
| --- a/chrome/browser/extensions/extension_browser_actions_api.cc
|
| +++ b/chrome/browser/extensions/extension_browser_actions_api.cc
|
| @@ -28,8 +28,8 @@ const char kIconIndexOutOfBounds[] =
|
| }
|
|
|
| bool BrowserActionSetNameFunction::RunImpl() {
|
| - std::string name;
|
| - EXTENSION_FUNCTION_VALIDATE(args_->GetAsString(&name));
|
| + std::string title;
|
| + EXTENSION_FUNCTION_VALIDATE(args_->GetAsString(&title));
|
|
|
| Extension* extension = dispatcher()->GetExtension();
|
| if (!extension->browser_action()) {
|
| @@ -37,7 +37,7 @@ bool BrowserActionSetNameFunction::RunImpl() {
|
| return false;
|
| }
|
|
|
| - extension->browser_action_state()->set_title(name);
|
| + extension->browser_action_state()->set_title(title);
|
|
|
| NotificationService::current()->Notify(
|
| NotificationType::EXTENSION_BROWSER_ACTION_UPDATED,
|
|
|