summaryrefslogtreecommitdiffstats
path: root/content/shell/browser
diff options
context:
space:
mode:
Diffstat (limited to 'content/shell/browser')
-rw-r--r--content/shell/browser/shell_content_browser_client.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/shell/browser/shell_content_browser_client.cc b/content/shell/browser/shell_content_browser_client.cc
index 040fce8..0facfaec 100644
--- a/content/shell/browser/shell_content_browser_client.cc
+++ b/content/shell/browser/shell_content_browser_client.cc
@@ -79,7 +79,7 @@ void ShellContentBrowserClient::RenderProcessHostCreated(
RenderProcessHost* host) {
if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree))
return;
- host->GetChannel()->AddFilter(new ShellMessageFilter(
+ host->AddFilter(new ShellMessageFilter(
host->GetID(),
BrowserContext::GetDefaultStoragePartition(browser_context())
->GetDatabaseTracker(),