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

Unified Diff: content/shell/shell_render_process_observer.cc

Issue 13409003: Hide ContentClient getters from embedders so that they they don't reuse content's embedder API. The… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 9 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/shell/shell_render_process_observer.cc
===================================================================
--- content/shell/shell_render_process_observer.cc (revision 192091)
+++ 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));
}

Powered by Google App Engine
This is Rietveld 408576698