| Index: chrome/browser/tab_contents/render_view_context_menu.cc
|
| diff --git a/chrome/browser/tab_contents/render_view_context_menu.cc b/chrome/browser/tab_contents/render_view_context_menu.cc
|
| index 65b1de9f3d8d98f0d9bc09e8f350b236e321d67b..299c6606fcf4de80d2b73ff35aae41e849628dd6 100644
|
| --- a/chrome/browser/tab_contents/render_view_context_menu.cc
|
| +++ b/chrome/browser/tab_contents/render_view_context_menu.cc
|
| @@ -57,6 +57,7 @@
|
| #include "content/browser/download/save_package.h"
|
| #include "content/browser/renderer_host/render_view_host.h"
|
| #include "content/browser/renderer_host/render_widget_host_view.h"
|
| +#include "content/browser/speech/speech_input_preferences.h"
|
| #include "content/browser/tab_contents/navigation_details.h"
|
| #include "content/browser/tab_contents/navigation_entry.h"
|
| #include "content/browser/tab_contents/tab_contents.h"
|
| @@ -1829,6 +1830,7 @@ void RenderViewContextMenu::ExecuteCommand(int id, int event_flags) {
|
| PrefService* prefs = profile_->GetPrefs();
|
| const bool censor = !prefs->GetBoolean(prefs::kSpeechInputCensorResults);
|
| prefs->SetBoolean(prefs::kSpeechInputCensorResults, censor);
|
| + profile_->GetSpeechInputPreferences()->set_censor_results(censor);
|
| break;
|
| }
|
|
|
|
|