Index: content/shell/shell_render_process_observer.cc |
=================================================================== |
--- content/shell/shell_render_process_observer.cc (revision 192622) |
+++ content/shell/shell_render_process_observer.cc (working copy) |
@@ -96,10 +96,7 @@ |
void ShellRenderProcessObserver::OnLoadHyphenDictionary( |
const IPC::PlatformFileForTransit& dict_file) { |
- ShellContentRendererClient* renderer_client = |
- static_cast<content::ShellContentRendererClient*>( |
- content::GetContentClient()->renderer()); |
- renderer_client->LoadHyphenDictionary( |
+ ShellContentRendererClient::Get()->LoadHyphenDictionary( |
IPC::PlatformFileForTransitToPlatformFile(dict_file)); |
} |