| Index: chrome/browser/ui/gtk/extensions/extension_view_gtk.cc
|
| diff --git a/chrome/browser/ui/gtk/extensions/extension_view_gtk.cc b/chrome/browser/ui/gtk/extensions/extension_view_gtk.cc
|
| index 463eae07afde6997190769ab3200cd1a65b046ea..c2d8717acb7951c53fd8bacb752303c1c699d0fc 100644
|
| --- a/chrome/browser/ui/gtk/extensions/extension_view_gtk.cc
|
| +++ b/chrome/browser/ui/gtk/extensions/extension_view_gtk.cc
|
| @@ -31,8 +31,8 @@ RenderViewHost* ExtensionViewGtk::render_view_host() const {
|
| }
|
|
|
| void ExtensionViewGtk::SetBackground(const SkBitmap& background) {
|
| - if (render_view_host()->IsRenderViewLive() && render_view_host()->view()) {
|
| - render_view_host()->view()->SetBackground(background);
|
| + if (render_view_host()->IsRenderViewLive() && render_view_host()->GetView()) {
|
| + render_view_host()->GetView()->SetBackground(background);
|
| } else {
|
| pending_background_ = background;
|
| }
|
| @@ -48,8 +48,8 @@ void ExtensionViewGtk::CreateWidgetHostView() {
|
| }
|
|
|
| void ExtensionViewGtk::RenderViewCreated() {
|
| - if (!pending_background_.empty() && render_view_host()->view()) {
|
| - render_view_host()->view()->SetBackground(pending_background_);
|
| + if (!pending_background_.empty() && render_view_host()->GetView()) {
|
| + render_view_host()->GetView()->SetBackground(pending_background_);
|
| pending_background_.reset();
|
| }
|
|
|
|
|