summaryrefslogtreecommitdiffstats
path: root/content/shell/shell_gtk.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/shell/shell_gtk.cc')
-rw-r--r--content/shell/shell_gtk.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/content/shell/shell_gtk.cc b/content/shell/shell_gtk.cc
index 8d024ce..b1ef588 100644
--- a/content/shell/shell_gtk.cc
+++ b/content/shell/shell_gtk.cc
@@ -271,8 +271,7 @@ gboolean Shell::OnNewWindowKeyPressed(GtkAccelGroup* accel_group,
guint keyval,
GdkModifierType modifier) {
ShellBrowserContext* browser_context =
- static_cast<ShellContentBrowserClient*>(
- GetContentClient()->browser())->browser_context();
+ ShellContentBrowserClient::Get()->browser_context();
Shell::CreateNewWindow(browser_context,
GURL(),
NULL,