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

Unified Diff: content/shell/shell_web_contents_view_delegate_gtk.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: sync Created 7 years, 8 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_web_contents_view_delegate_gtk.cc
===================================================================
--- content/shell/shell_web_contents_view_delegate_gtk.cc (revision 192622)
+++ content/shell/shell_web_contents_view_delegate_gtk.cc (working copy)
@@ -211,8 +211,7 @@
void ShellWebContentsViewDelegate::OnOpenURLMenuActivated(GtkWidget* widget) {
ShellBrowserContext* browser_context =
- static_cast<ShellContentBrowserClient*>(
- GetContentClient()->browser())->browser_context();
+ ShellContentBrowserClient::Get()->browser_context();
Shell::CreateNewWindow(browser_context,
params_.link_url,
NULL,
« no previous file with comments | « content/shell/shell_render_process_observer.cc ('k') | content/shell/shell_web_contents_view_delegate_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698