Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1414)

Unified Diff: content/browser/renderer_host/browser_render_process_host.cc

Issue 7989001: Remove use of default request context and fix use of speech censor flag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/browser_render_process_host.cc
diff --git a/content/browser/renderer_host/browser_render_process_host.cc b/content/browser/renderer_host/browser_render_process_host.cc
index 96ee1301dba4b87a71fe989574a90ce5ecf7e8f1..294a18859f0c199c32569a55b249955c0011e760 100644
--- a/content/browser/renderer_host/browser_render_process_host.cc
+++ b/content/browser/renderer_host/browser_render_process_host.cc
@@ -381,7 +381,9 @@ void BrowserRenderProcessHost::CreateMessageFilters() {
channel_->AddFilter(new PepperFileMessageFilter(id(), browser_context()));
channel_->AddFilter(
new PepperMessageFilter(&browser_context()->GetResourceContext()));
- channel_->AddFilter(new speech_input::SpeechInputDispatcherHost(id()));
+ channel_->AddFilter(new speech_input::SpeechInputDispatcherHost(
+ id(), browser_context()->GetRequestContext(),
+ browser_context()->GetSpeechCensorPref()));
channel_->AddFilter(
new FileSystemDispatcherHost(browser_context()->GetRequestContext(),
browser_context()->GetFileSystemContext()));

Powered by Google App Engine
This is Rietveld 408576698