| Index: chrome/browser/automation/automation_provider.cc
|
| diff --git a/chrome/browser/automation/automation_provider.cc b/chrome/browser/automation/automation_provider.cc
|
| index cfd6eac108adbe5c1b69d48dc65271263a8682cc..65dae1db0b61de9abe8380a1cebca9cf9ebf41ef 100644
|
| --- a/chrome/browser/automation/automation_provider.cc
|
| +++ b/chrome/browser/automation/automation_provider.cc
|
| @@ -1850,7 +1850,6 @@ void AutomationProvider::OverrideEncoding(int tab_handle,
|
| DCHECK(browser);
|
|
|
| if (browser->command_updater()->IsCommandEnabled(IDC_ENCODING_MENU)) {
|
| - TabContents* tab_contents = nav->tab_contents();
|
| int selected_encoding_id =
|
| CharacterEncoding::GetCommandIdByCanonicalEncodingName(encoding_name);
|
| if (selected_encoding_id) {
|
|
|