Index: chrome/browser/ui/gtk/infobars/infobar_gtk.cc |
=================================================================== |
--- chrome/browser/ui/gtk/infobars/infobar_gtk.cc (revision 195254) |
+++ chrome/browser/ui/gtk/infobars/infobar_gtk.cc (working copy) |
@@ -65,7 +65,7 @@ |
DCHECK(owner()); |
DCHECK(!theme_service_); |
theme_service_ = GtkThemeService::GetFrom(Profile::FromBrowserContext( |
- owner()->GetWebContents()->GetBrowserContext())); |
+ owner()->web_contents()->GetBrowserContext())); |
// Create |hbox_| and pad the sides. |
hbox_ = gtk_hbox_new(FALSE, kElementPadding); |